Correction erreur
This commit is contained in:
parent
5d6704100b
commit
0e946aff65
@ -332,7 +332,7 @@ public class PlayersController implements Initializable{
|
|||||||
}
|
}
|
||||||
public boolean textVide() {
|
public boolean textVide() {
|
||||||
for(int i=0;i<txt.size();i++) {
|
for(int i=0;i<txt.size();i++) {
|
||||||
if(txt.get(i).isEditable() && txt.get(i).getText().equals("") || txt.get(i).isEditable() && txt.get(i).getText().isBlank()) {
|
if(txt.get(i).isEditable() && txt.get(i).getText().equals("") && txt.get(i).getText().isBlank()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -377,19 +377,7 @@ public class PlayersController implements Initializable{
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
/* public boolean nomAutorise() {
|
|
||||||
|
|
||||||
int i=0;
|
|
||||||
while(i<txt.size()) {
|
|
||||||
if(txt.get(i).isEditable() && txt.get(i).getText().isBlank()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
|
|
||||||
}*/
|
|
||||||
@FXML
|
@FXML
|
||||||
public void retour(MouseEvent me) throws IOException {
|
public void retour(MouseEvent me) throws IOException {
|
||||||
InputStream fileSound1 = getClass().getResourceAsStream("/ihm/ressources/musique/BEEP1.wav");
|
InputStream fileSound1 = getClass().getResourceAsStream("/ihm/ressources/musique/BEEP1.wav");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user