$
This commit is contained in:
@@ -36,7 +36,7 @@ public class Controller implements ActionListener {
|
||||
int groupeIndex = this.pv.getComboSelectionIndex();
|
||||
String text = this.pv.getSearchStud();
|
||||
|
||||
if (Objects.equals(command, "fi::GetStudList")) {
|
||||
if(Objects.equals(command, "pv::GetStudList")) {
|
||||
BFrame frame = new BFrame(
|
||||
"Liste des eleves",
|
||||
1,
|
||||
@@ -70,7 +70,7 @@ public class Controller implements ActionListener {
|
||||
Display(frame, data, titre);
|
||||
}
|
||||
|
||||
else if(Objects.equals(command, "fi::GetListFiltered")) {
|
||||
else if(Objects.equals(command, "pv::GetListFiltered")) {
|
||||
BFrame frame = new BFrame(
|
||||
"Liste des eleves du " + groupeOption,
|
||||
1,
|
||||
@@ -112,7 +112,7 @@ public class Controller implements ActionListener {
|
||||
Display(frame, data_final, titre);
|
||||
}
|
||||
|
||||
else if(Objects.equals(command, "fi::SearchStudentPer3Letters")) {
|
||||
else if(Objects.equals(command, "pv::SearchStudentPer3Letters")) {
|
||||
if(text.length() < 3 || text == null) {
|
||||
JOptionPane.showMessageDialog(
|
||||
this.pv,
|
||||
@@ -171,8 +171,18 @@ public class Controller implements ActionListener {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else if(Objects.equals(command, "av::MoveStudent")) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Pour afficher le JTable
|
||||
* @param frame La fenetre
|
||||
* @param data Les donnees des colonnes du tableau
|
||||
* @param titre Les titres des colonnes
|
||||
* */
|
||||
private void Display(BFrame frame, String[][] data, String[] titre) {
|
||||
JTable liste = new JTable(data, titre) {
|
||||
public boolean editCellAt(int row, int column, java.util.EventObject e) {
|
||||
|
Reference in New Issue
Block a user