|
@@ -27,17 +27,52 @@ public class Interface extends javax.swing.JFrame {
|
|
|
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
|
|
private void initComponents() {
|
|
|
|
|
|
+ jButton1 = new javax.swing.JButton();
|
|
|
+ jComboBox1 = new javax.swing.JComboBox<>();
|
|
|
+ jButton2 = new javax.swing.JButton();
|
|
|
+ jButton3 = new javax.swing.JButton();
|
|
|
+ jButton4 = new javax.swing.JButton();
|
|
|
+
|
|
|
+ jButton1.setText("jButton1");
|
|
|
+
|
|
|
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
|
|
|
|
|
|
+ jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
|
|
|
+
|
|
|
+ jButton2.setText("jButton2");
|
|
|
+
|
|
|
+ jButton3.setText("jButton3");
|
|
|
+
|
|
|
+ jButton4.setText("jButton4");
|
|
|
+
|
|
|
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(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
|
|
+ .addContainerGap(268, Short.MAX_VALUE)
|
|
|
+ .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
+ .addGap(76, 76, 76))
|
|
|
+ .addGroup(layout.createSequentialGroup()
|
|
|
+ .addGap(44, 44, 44)
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
|
|
+ .addComponent(jButton4)
|
|
|
+ .addComponent(jButton3)
|
|
|
+ .addComponent(jButton2))
|
|
|
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
|
|
);
|
|
|
layout.setVerticalGroup(
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
|
- .addGap(0, 300, Short.MAX_VALUE)
|
|
|
+ .addGroup(layout.createSequentialGroup()
|
|
|
+ .addGap(91, 91, 91)
|
|
|
+ .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
+ .addGap(28, 28, 28)
|
|
|
+ .addComponent(jButton2)
|
|
|
+ .addGap(30, 30, 30)
|
|
|
+ .addComponent(jButton3)
|
|
|
+ .addGap(31, 31, 31)
|
|
|
+ .addComponent(jButton4)
|
|
|
+ .addContainerGap(31, Short.MAX_VALUE))
|
|
|
);
|
|
|
|
|
|
pack();
|
|
@@ -79,5 +114,10 @@ public class Interface extends javax.swing.JFrame {
|
|
|
}
|
|
|
|
|
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
|
|
+ private javax.swing.JButton jButton1;
|
|
|
+ private javax.swing.JButton jButton2;
|
|
|
+ private javax.swing.JButton jButton3;
|
|
|
+ private javax.swing.JButton jButton4;
|
|
|
+ private javax.swing.JComboBox<String> jComboBox1;
|
|
|
// End of variables declaration//GEN-END:variables
|
|
|
}
|