Timeline updated (executeUntil, setTimeFunction)
[Mograsim.git] / LogicUI / src / era / mi / gui / examples / RSLatchGUIExample.java
index 49dadc8..405088d 100644 (file)
@@ -19,6 +19,7 @@ public class RSLatchGUIExample
        public static void main(String[] args)\r
        {\r
                Timeline t = new Timeline(11);\r
+               t.setTimeFunction(() -> System.currentTimeMillis()); // real time simulation\r
                LogicUIStandalone ui = new LogicUIStandalone(t);\r
                addComponentsAndWires(ui.getLogicUICanvas(), t);\r
                ui.run();\r