From 11575aa3612abb6a874539e334520ae75593a84b Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Thu, 23 May 2019 12:57:41 +0200 Subject: [PATCH] Made addComponentsAndwires public --- LogicUI/src/era/mi/gui/examples/RSLatchGUIExample.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.17.1