Made addComponentsAndwires public
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 23 May 2019 10:57:41 +0000 (12:57 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 23 May 2019 10:57:41 +0000 (12:57 +0200)
LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java

index 23e9ac9..87635b1 100644 (file)
@@ -19,11 +19,11 @@ public class RSLatchGUIExample
        public static void main(String[] args)\r
        {\r
                LogicUIStandalone ui = new LogicUIStandalone();\r
-               initComponents(ui.getLogicUICanvas());\r
+               addComponentsAndWires(ui.getLogicUICanvas());\r
                ui.run();\r
        }\r
 \r
-       private static void initComponents(LogicUICanvas ui)\r
+       public static void addComponentsAndWires(LogicUICanvas ui)\r
        {\r
                Simulation.TIMELINE.reset();\r
                Wire r = new Wire(1, WIRE_DELAY);\r