X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fexamples%2FRSLatchGUIExample.java;h=405088db8461bd9cacd880a6ebfc6e8f01594fc9;hb=a37db10f5372ec09624b2ad9b60587e498991cbd;hp=49dadc80995347154255df6831bf6d004338d6e3;hpb=4c6114f75b39b77f328b7a095c2401389175e94e;p=Mograsim.git diff --git a/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java b/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java index 49dadc80..405088db 100644 --- a/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java +++ b/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java @@ -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();