diff --git a/TestFrame2/src/TestPackage2/FooClass.java b/TestFrame2/src/TestPackage2/FooClass.java new file mode 100644 index 0000000..5cfac3f --- /dev/null +++ b/TestFrame2/src/TestPackage2/FooClass.java @@ -0,0 +1,13 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template + */ +package TestPackage2; + +/** + * + * @author Андрей + */ +public class FooClass { + public int foo; +} diff --git a/TestFrame2/src/TestPackage2/TestJForm2.form b/TestFrame2/src/TestPackage2/TestJForm2.form index 769eecd..0d49a6d 100644 --- a/TestFrame2/src/TestPackage2/TestJForm2.form +++ b/TestFrame2/src/TestPackage2/TestJForm2.form @@ -23,13 +23,28 @@ - + + + + + - + + + + + + + + + + + + diff --git a/TestFrame2/src/TestPackage2/TestJForm2.java b/TestFrame2/src/TestPackage2/TestJForm2.java index 233a4db..030afa9 100644 --- a/TestFrame2/src/TestPackage2/TestJForm2.java +++ b/TestFrame2/src/TestPackage2/TestJForm2.java @@ -26,17 +26,27 @@ public class TestJForm2 extends javax.swing.JFrame { // //GEN-BEGIN:initComponents private void initComponents() { + jButton1 = new javax.swing.JButton(); + setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); + jButton1.setText("jButton1"); + 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(229, 229, 229) + .addComponent(jButton1) + .addContainerGap(233, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGap(0, 300, Short.MAX_VALUE) + .addGroup(layout.createSequentialGroup() + .addGap(172, 172, 172) + .addComponent(jButton1) + .addContainerGap(189, Short.MAX_VALUE)) ); pack(); @@ -78,5 +88,6 @@ public class TestJForm2 extends javax.swing.JFrame { } // Variables declaration - do not modify//GEN-BEGIN:variables + private javax.swing.JButton jButton1; // End of variables declaration//GEN-END:variables }