Rounded corners

This commit is contained in:
skylarmt 2015-01-11 02:05:37 -07:00
parent a3e123cb5d
commit a791b962a7
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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);