dev
_N0x 3 years ago
parent 4f30dd8dcd
commit 6c6d613bda

@ -1,8 +0,0 @@
Alert alert = new Alert(Alert.AlertType.ERROR);
alert.setTitle("File not found");
alert.setContentText("File could not be located");
alert.showAndWait().ifPresent(rs -> {
if (rs == ButtonType.OK) {
System.out.println("Pressed OK.");
}
});

@ -1,8 +0,0 @@
Alert alert = new Alert(Alert.AlertType.ERROR);
alert.setTitle("File not found");
alert.setContentText("File could not be located");
alert.showAndWait().ifPresent(rs -> {
if (rs == ButtonType.OK) {
System.out.println("Pressed OK.");
}
});
Loading…
Cancel
Save