minor fixes

This commit is contained in:
Dmitry Isaenko 2019-02-11 17:33:53 +03:00
parent d4e272d1bf
commit b8d89090a2
6 changed files with 14 additions and 5 deletions

View file

@ -10,6 +10,7 @@ public class ServiceWindow {
/**
* Create window with notification
* */
/* // not used
static void getErrorNotification(String title, String body){
Alert alertBox = new Alert(Alert.AlertType.ERROR);
alertBox.setTitle(title);
@ -22,6 +23,10 @@ public class ServiceWindow {
alertBox.getDialogPane().getStylesheets().add("/res/app.css");
alertBox.show();
}
*/
/**
* Create notification window with confirm/deny
* */
static boolean getConfirmationWindow(String title, String body){
Alert alertBox = new Alert(Alert.AlertType.CONFIRMATION);
alertBox.setTitle(title);