Merge branch 'development' of
[Mograsim.git] / LogicUI / src / era / mi / gui / LogicUIStandalone.java
index 638ecf4..8bbfb1c 100644 (file)
@@ -30,7 +30,7 @@ public class LogicUIStandalone
                display = new Display();\r
                shell = new Shell(display);\r
                shell.setLayout(new FillLayout());\r
-               ui = new LogicUICanvas(shell, SWT.NONE);\r
+               ui = new LogicUICanvas(shell, SWT.NONE, model);\r
 \r
                ZoomableCanvasUserInput userInput = new ZoomableCanvasUserInput(ui);\r
                userInput.buttonDrag = 3;\r
@@ -55,6 +55,7 @@ public class LogicUIStandalone
 //                     while (running.get())\r
 //                     {\r
 //                             // always execute to keep timeline from "hanging behind" for too long\r
+//                             timeline.executeUntil(timeline.laterThan(System.currentTimeMillis()), System.currentTimeMillis() + 10);         \r
 //                             model.timeline.executeUpTo(System.currentTimeMillis(), System.currentTimeMillis() + 10);\r
 //                             long sleepTime;\r
 //                             if (model.timeline.hasNext())\r