Minor corrections

This commit is contained in:
Dmitry Isaenko 2019-02-10 17:40:29 +03:00
parent 6a7b752c39
commit 6f7158b376
4 changed files with 30 additions and 27 deletions

View file

@ -28,10 +28,12 @@ public class NSLMain extends Application {
rb = ResourceBundle.getBundle("locale", new Locale("en"));
// If it's windows, refuse to work
/*
if (System.getProperty("os.name").toLowerCase().startsWith("win")){
ServiceWindow.getErrorNotification(rb.getString("windowErrorHeader"), rb.getString("windowItsWindowsMessage"));
}
else{
/*/
// If it's not, go ahead
FXMLLoader loader = new FXMLLoader(getClass().getResource("/NSLMain.fxml"));
@ -59,8 +61,9 @@ public class NSLMain extends Application {
e.consume();
});
}
/*/
}
/*/
public static void main(String[] args) {
if ((args.length == 1) && (args[0].equals("-v") || args[0].equals("--version"))){