This commit is contained in:
Bilal
2022-10-06 15:01:25 +02:00
parent af4b827eba
commit f900c6179d
21 changed files with 3513 additions and 13 deletions

View File

@@ -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");
}