mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-22 03:05:24 -04:00
minor fixes
This commit is contained in:
parent
d4e272d1bf
commit
b8d89090a2
6 changed files with 14 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue