%
This commit is contained in:
@@ -93,16 +93,13 @@ public class ManageStudent extends BFrame implements ActionListener {
|
||||
System.out.println(this.data[i] + " | " + i);
|
||||
}
|
||||
|
||||
JList<String> list = new JList<>(this.data);
|
||||
this.refreshBFrame();
|
||||
|
||||
return list;
|
||||
return new JList<>(this.data);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
if(e.getActionCommand() == "search") {
|
||||
refreshList(this.inSearch.getText());
|
||||
this.add(refreshList(this.inSearch.getText()), this.settings);
|
||||
} else {
|
||||
System.out.println("ok");
|
||||
}
|
||||
|
Reference in New Issue
Block a user