public void stateChanged(ChangeEvent evt) {
jKnob1StateChanged(evt);
}
});
GroupLayout jKnob1Layout = new GroupLayout(
jKnob1);
jKnob1.setLayout(jKnob1Layout);
jKnob1Layout.setHorizontalGroup(jKnob1Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
jKnob1Layout.setVerticalGroup(jKnob1Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridheight = 2;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jKnob1, gridBagConstraints);
jKnob2.setIntValue(0);
jKnob2.setMaximumValue(127);
jKnob2.setPreferredSize(new Dimension(60, 60));
jKnob2.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jKnob2StateChanged(evt);
}
});
GroupLayout jKnob2Layout = new GroupLayout(
jKnob2);
jKnob2.setLayout(jKnob2Layout);
jKnob2Layout.setHorizontalGroup(jKnob2Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
jKnob2Layout.setVerticalGroup(jKnob2Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridheight = 2;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jKnob2, gridBagConstraints);
jKnob3.setIntValue(0);
jKnob3.setMaximumValue(127);
jKnob3.setPreferredSize(new Dimension(60, 60));
jKnob3.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jKnob3StateChanged(evt);
}
});
GroupLayout jKnob3Layout = new GroupLayout(
jKnob3);
jKnob3.setLayout(jKnob3Layout);
jKnob3Layout.setHorizontalGroup(jKnob3Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
jKnob3Layout.setVerticalGroup(jKnob3Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridheight = 2;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jKnob3, gridBagConstraints);
jKnob4.setIntValue(0);
jKnob4.setMaximumValue(127);
jKnob4.setPreferredSize(new Dimension(60, 60));
jKnob4.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jKnob4StateChanged(evt);
}
});
GroupLayout jKnob4Layout = new GroupLayout(
jKnob4);
jKnob4.setLayout(jKnob4Layout);
jKnob4Layout.setHorizontalGroup(jKnob4Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
jKnob4Layout.setVerticalGroup(jKnob4Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridheight = 2;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jKnob4, gridBagConstraints);
jKnob5.setIntValue(0);
jKnob5.setMaximumValue(127);
jKnob5.setPreferredSize(new Dimension(60, 60));
jKnob5.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jKnob5StateChanged(evt);
}
});
GroupLayout jKnob5Layout = new GroupLayout(
jKnob5);
jKnob5.setLayout(jKnob5Layout);
jKnob5Layout.setHorizontalGroup(jKnob5Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
jKnob5Layout.setVerticalGroup(jKnob5Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 4;
gridBagConstraints.gridheight = 3;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jKnob5, gridBagConstraints);
jKnob6.setIntValue(0);
jKnob6.setMaximumValue(127);
jKnob6.setPreferredSize(new Dimension(60, 60));
jKnob6.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jKnob6StateChanged(evt);
}
});
GroupLayout jKnob6Layout = new GroupLayout(
jKnob6);
jKnob6.setLayout(jKnob6Layout);
jKnob6Layout.setHorizontalGroup(jKnob6Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
jKnob6Layout.setVerticalGroup(jKnob6Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 4;
gridBagConstraints.gridheight = 3;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jKnob6, gridBagConstraints);
jKnob7.setIntValue(0);
jKnob7.setMaximumValue(127);
jKnob7.setPreferredSize(new Dimension(60, 60));
jKnob7.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jKnob7StateChanged(evt);
}
});
GroupLayout jKnob7Layout = new GroupLayout(
jKnob7);
jKnob7.setLayout(jKnob7Layout);
jKnob7Layout.setHorizontalGroup(jKnob7Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
jKnob7Layout.setVerticalGroup(jKnob7Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 4;
gridBagConstraints.gridheight = 3;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jKnob7, gridBagConstraints);
jSpinner1.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jSpinner1StateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 2;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jSpinner1, gridBagConstraints);
jSpinner2.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jSpinner2StateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 2;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jSpinner2, gridBagConstraints);
jSpinner3.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jSpinner3StateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 2;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jSpinner3, gridBagConstraints);
jSpinner4.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jSpinner4StateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 2;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jSpinner4, gridBagConstraints);
jSpinner5.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jSpinner5StateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 7;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jSpinner5, gridBagConstraints);
jSpinner6.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jSpinner6StateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 7;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jSpinner6, gridBagConstraints);
jSpinner7.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent evt) {
jSpinner7StateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 7;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jSpinner7, gridBagConstraints);
typeBox.setModel(new DefaultComboBoxModel(new String[] {
"Item 1", "Item 2", "Item 3", "Item 4" }));
typeBox.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent evt) {
typeBoxItemStateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 0;
gridBagConstraints.gridwidth = 2;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(typeBox, gridBagConstraints);
java.util.ResourceBundle bundle = java.util.ResourceBundle
.getBundle("jrackattack/gui"); // NOI18N
jLabel1.setText(bundle.getString("label.disabled")); // NOI18N
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 3;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jLabel1, gridBagConstraints);
jLabel2.setText(bundle.getString("label.disabled")); // NOI18N
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 3;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jLabel2, gridBagConstraints);
jLabel3.setText(bundle.getString("label.disabled")); // NOI18N
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 3;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jLabel3, gridBagConstraints);
jLabel4.setText(bundle.getString("label.disabled")); // NOI18N
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 3;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jLabel4, gridBagConstraints);
jLabel5.setText(bundle.getString("label.disabled")); // NOI18N
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 8;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jLabel5, gridBagConstraints);
jLabel6.setText(bundle.getString("label.disabled")); // NOI18N
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 8;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jLabel6, gridBagConstraints);
jLabel7.setText(bundle.getString("label.disabled")); // NOI18N
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridy = 8;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(jLabel7, gridBagConstraints);
syncBox.setModel(new DefaultComboBoxModel(new String[] {
"Item 1", "Item 2", "Item 3", "Item 4" }));
syncBox.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent evt) {
syncBoxItemStateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 1;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(syncBox, gridBagConstraints);
posButton.setText(bundle.getString("radio.pos")); // NOI18N
posButton.setBorder(BorderFactory.createEmptyBorder(0, 0,
0, 0));
posButton.setMargin(new Insets(0, 0, 0, 0));
posButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
posButtonActionPerformed(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 4;
gridBagConstraints.anchor = GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(posButton, gridBagConstraints);
negButton.setText(bundle.getString("radio.neg_polarity")); // NOI18N
negButton.setBorder(BorderFactory.createEmptyBorder(0, 0,
0, 0));
negButton.setMargin(new Insets(0, 0, 0, 0));
negButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
negButtonActionPerformed(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 5;
gridBagConstraints.anchor = GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(negButton, gridBagConstraints);
outBox.setModel(new DefaultComboBoxModel(new String[] {
"Item 1", "Item 2", "Item 3", "Item 4" }));
outBox.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent evt) {
outBoxItemStateChanged(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 2;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(outBox, gridBagConstraints);
autoPanBox.setText(bundle.getString("checkbox.auto_pan")); // NOI18N
autoPanBox.setBorder(BorderFactory.createEmptyBorder(0, 0,
0, 0));
autoPanBox.setMargin(new Insets(0, 0, 0, 0));
autoPanBox.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
autoPanBoxActionPerformed(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 6;
gridBagConstraints.anchor = GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(autoPanBox, gridBagConstraints);
loadButton.setText(bundle.getString("button.load")); // NOI18N
loadButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
loadButtonActionPerformed(evt);
}
});
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 4;
gridBagConstraints.gridy = 7;
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints.insets = new Insets(2, 2, 2, 2);
add(loadButton, gridBagConstraints);
jKnob8.setIntValue(0);
jKnob8.setMaximumValue(127);
jKnob8.setPreferredSize(new Dimension(60, 60));
GroupLayout jKnob8Layout = new GroupLayout(
jKnob8);
jKnob8.setLayout(jKnob8Layout);
jKnob8Layout.setHorizontalGroup(jKnob8Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
jKnob8Layout.setVerticalGroup(jKnob8Layout.createParallelGroup(
GroupLayout.LEADING).add(0, 60,
Short.MAX_VALUE));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 3;
gridBagConstraints.gridy = 4;