diff --git a/TestApplication/src/TestPackage/TestJFrame.form b/TestApplication/src/TestPackage/TestJFrame.form index 769eecd..deb750a 100644 --- a/TestApplication/src/TestPackage/TestJFrame.form +++ b/TestApplication/src/TestPackage/TestJFrame.form @@ -23,13 +23,28 @@ - + + + + + - + + + + + + + + + + + + diff --git a/TestApplication/src/TestPackage/TestJFrame.java b/TestApplication/src/TestPackage/TestJFrame.java index 3f97285..fa4dbb3 100644 --- a/TestApplication/src/TestPackage/TestJFrame.java +++ b/TestApplication/src/TestPackage/TestJFrame.java @@ -26,17 +26,27 @@ public class TestJFrame extends javax.swing.JFrame { // //GEN-BEGIN:initComponents private void initComponents() { + jButton1 = new javax.swing.JButton(); + setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); + jButton1.setText("first"); + javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGap(0, 400, Short.MAX_VALUE) + .addGroup(layout.createSequentialGroup() + .addGap(158, 158, 158) + .addComponent(jButton1) + .addContainerGap(170, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGap(0, 300, Short.MAX_VALUE) + .addGroup(layout.createSequentialGroup() + .addGap(126, 126, 126) + .addComponent(jButton1) + .addContainerGap(151, Short.MAX_VALUE)) ); pack(); @@ -78,5 +88,6 @@ public class TestJFrame extends javax.swing.JFrame { } // Variables declaration - do not modify//GEN-BEGIN:variables + private javax.swing.JButton jButton1; // End of variables declaration//GEN-END:variables }