Closedown
This commit is contained in:
@@ -101,9 +101,9 @@ public class TestingList extends Panel {
|
||||
private javax.swing.JScrollPane jScrollPane1;
|
||||
private javax.swing.JTextArea txtOutput;
|
||||
// End of variables declaration//GEN-END:variables
|
||||
JButton remove;
|
||||
JButton appear;
|
||||
JCheckBox cb[]=new JCheckBox[10];
|
||||
private JButton remove;
|
||||
private JButton appear;
|
||||
private JCheckBox cb[]=new JCheckBox[10];
|
||||
|
||||
|
||||
|
||||
@@ -118,14 +118,14 @@ public class TestingList extends Panel {
|
||||
cb[i]=new JCheckBox("checkbox:"+i);
|
||||
cb[i].setVisible(false);
|
||||
}
|
||||
fr.add(p);
|
||||
p.add(remove);
|
||||
p.add(appear);
|
||||
jScrollPane1.add(p);
|
||||
jScrollPane1.add(remove);
|
||||
jScrollPane1.add(appear);
|
||||
for(int i=0;i<10;i++) {
|
||||
p.add(cb[i]);
|
||||
jScrollPane1.add(cb[i]);
|
||||
}
|
||||
fr.setVisible(true);
|
||||
fr.setSize(400,400);
|
||||
//fr.setVisible(true);
|
||||
//fr.setSize(400,400);
|
||||
}
|
||||
|
||||
public void hookUpEvents() {
|
||||
|
||||
Reference in New Issue
Block a user