Rounded corners
This commit is contained in:
parent
a3e123cb5d
commit
a791b962a7
@ -16,7 +16,7 @@
|
||||
</Property>
|
||||
<Property name="resizable" type="boolean" value="false"/>
|
||||
<Property name="shape" type="java.awt.Shape" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
||||
<Connection code="new RoundRectangle2D.Double(0, 0, getSize().width, getSize().height, 50, 50)" type="code"/>
|
||||
<Connection code="new RoundRectangle2D.Double(0, 0, getSize().width, getSize().height, 25, 25)" type="code"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
<SyntheticProperties>
|
||||
|
@ -73,7 +73,7 @@ public class SplashScreen extends javax.swing.JFrame {
|
||||
setUndecorated(true);
|
||||
setPreferredSize(new java.awt.Dimension(400, 320));
|
||||
setResizable(false);
|
||||
setShape(new RoundRectangle2D.Double(0, 0, getSize().width, getSize().height, 50, 50));
|
||||
setShape(new RoundRectangle2D.Double(0, 0, getSize().width, getSize().height, 25, 25));
|
||||
addComponentListener(new java.awt.event.ComponentAdapter() {
|
||||
public void componentShown(java.awt.event.ComponentEvent evt) {
|
||||
formComponentShown(evt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user