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