This commit is contained in:
2015-05-22 12:29:36 +02:00
parent 678201d118
commit c5c9b58b16
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ public class Main {
}
else
{
new Window(Boolean.getBoolean(args[0].toLowerCase()));
new Window(true);
}
}
+2 -1
View File
@@ -23,6 +23,7 @@ public class Window extends JFrame {
setSize(1280, 1024);
this.ON_RASP = ON_RASP;
System.out.println(ON_RASP);
//Set window close listener
setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
@@ -39,7 +40,7 @@ public class Window extends JFrame {
//Create Events
LedHandler led = null;
if(Window.ON_RASP) //TODO REMOVE
if(ON_RASP) //TODO REMOVE
{
led = new LedHandler();
}