From eb44717c6c30d3c76c46f60a7b3c9c1b6cee9d3b Mon Sep 17 00:00:00 2001 From: martins Date: Tue, 29 Nov 2022 15:49:27 +0100 Subject: [PATCH] ok --- .../projetIHM2022FI2/ROOT/View/FenetreSelectionEtu.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/APIGroupe/src/fr/iutfbleau/projetIHM2022FI2/ROOT/View/FenetreSelectionEtu.java b/java/APIGroupe/src/fr/iutfbleau/projetIHM2022FI2/ROOT/View/FenetreSelectionEtu.java index 0b0b707..0c3579a 100644 --- a/java/APIGroupe/src/fr/iutfbleau/projetIHM2022FI2/ROOT/View/FenetreSelectionEtu.java +++ b/java/APIGroupe/src/fr/iutfbleau/projetIHM2022FI2/ROOT/View/FenetreSelectionEtu.java @@ -42,6 +42,7 @@ public class FenetreSelectionEtu extends JPanel{ } i++; } + this.getComponent(index).setBackground(Color.GREEN); } public void removeList(int index){ @@ -53,6 +54,7 @@ public class FenetreSelectionEtu extends JPanel{ } i++; } + this.getComponent(index).setBackground(this.getBackground()); } public void addEtudiant(String nom, String prenom){