X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fexamples%2FRSLatchGUIExample.java;h=c3a7ea25a74be0eee75b099b4f7c025f217445c7;hb=27e4465d9b23acd5d97dbb4789a70f30c86a9302;hp=4aec4cd8229f3a4489b82ecc4d7fa0a0aba5efb9;hpb=da0a4b7d0619283bb4384091356ce3f105c84e78;p=Mograsim.git diff --git a/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java b/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java index 4aec4cd8..c3a7ea25 100644 --- a/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java +++ b/LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java @@ -19,11 +19,11 @@ public class RSLatchGUIExample public static void main(String[] args) { LogicUIStandalone ui = new LogicUIStandalone(); - initComponents(ui.getLogicUICanvas()); + addComponentsAndWires(ui.getLogicUICanvas()); ui.run(); } - private static void initComponents(LogicUICanvas ui) + public static void addComponentsAndWires(LogicUICanvas ui) { Simulation.TIMELINE.reset(); Wire r = new Wire(1, WIRE_DELAY);