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 4aec4cd..c3a7ea2 100644 (file)
@@ -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);