Closedown
This commit is contained in:
@@ -86,7 +86,7 @@ public class TestingPanel extends Panel {
|
||||
panel = new javax.swing.JPanel();
|
||||
panelPlot = new javax.swing.JPanel();
|
||||
jButton2 = new javax.swing.JButton();
|
||||
jButton3 = new javax.swing.JButton();
|
||||
cmTestPS = new javax.swing.JButton();
|
||||
jCheckBox1 = new javax.swing.JCheckBox();
|
||||
jButton4 = new javax.swing.JButton();
|
||||
txtTestPSRes = new javax.swing.JTextField();
|
||||
@@ -127,10 +127,10 @@ public class TestingPanel extends Panel {
|
||||
}
|
||||
});
|
||||
|
||||
jButton3.setText("Test PS");
|
||||
jButton3.addActionListener(new java.awt.event.ActionListener() {
|
||||
cmTestPS.setText("Test PS");
|
||||
cmTestPS.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
jButton3ActionPerformed(evt);
|
||||
cmTestPSActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -176,7 +176,7 @@ public class TestingPanel extends Panel {
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
.addComponent(jButton3)
|
||||
.addComponent(cmTestPS)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(txtTestPSRes, javax.swing.GroupLayout.DEFAULT_SIZE, 57, Short.MAX_VALUE))
|
||||
.addComponent(jCheckBox1)
|
||||
@@ -205,7 +205,7 @@ public class TestingPanel extends Panel {
|
||||
.addComponent(jCheckBox1)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jButton3)
|
||||
.addComponent(cmTestPS)
|
||||
.addComponent(txtTestPSRes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(jButton4)))
|
||||
@@ -232,7 +232,7 @@ public class TestingPanel extends Panel {
|
||||
eval("start = 22.0");
|
||||
eval("end = 32.0");
|
||||
eval("step = 10");
|
||||
run("test11");
|
||||
run("args");
|
||||
|
||||
|
||||
/*
|
||||
@@ -303,11 +303,12 @@ public class TestingPanel extends Panel {
|
||||
|
||||
}//GEN-LAST:event_jButton2ActionPerformed
|
||||
|
||||
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
|
||||
private void cmTestPSActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmTestPSActionPerformed
|
||||
try {
|
||||
boolean var1 = jCheckBox1.isSelected();
|
||||
int var2 = 2;// (Integer)spinner.getValue();
|
||||
|
||||
int result;
|
||||
|
||||
HashMap args = new HashMap();
|
||||
args.put("relative", var1);
|
||||
args.put("steps", var2);
|
||||
@@ -322,7 +323,7 @@ public class TestingPanel extends Panel {
|
||||
} catch (Exception ex) {
|
||||
SwingUtils.showException(this, ex);
|
||||
} // TODO add your handling code here:
|
||||
}//GEN-LAST:event_jButton3ActionPerformed
|
||||
}//GEN-LAST:event_cmTestPSActionPerformed
|
||||
|
||||
private void jCheckBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCheckBox1ActionPerformed
|
||||
// TODO add your handling code here:
|
||||
@@ -350,9 +351,9 @@ public class TestingPanel extends Panel {
|
||||
private javax.swing.JButton buttonAbort;
|
||||
private javax.swing.JButton buttonExecute;
|
||||
private javax.swing.JCheckBox check;
|
||||
private javax.swing.JButton cmTestPS;
|
||||
private javax.swing.JButton jButton1;
|
||||
private javax.swing.JButton jButton2;
|
||||
private javax.swing.JButton jButton3;
|
||||
private javax.swing.JButton jButton4;
|
||||
private javax.swing.JCheckBox jCheckBox1;
|
||||
private javax.swing.JPanel panel;
|
||||
|
||||
Reference in New Issue
Block a user