From: Daniel Kirschten Date: Thu, 23 May 2019 10:57:41 +0000 (+0200) Subject: Made addComponentsAndwires public X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=11575aa3612abb6a874539e334520ae75593a84b;p=Mograsim.git Made addComponentsAndwires public --- 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);