X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fui%2Fmodel%2Fcomponents%2Fmi%2Fnandbased%2FGUIand.java;h=eb8b8880478068f06f18ba395787c136d2227d0a;hb=f84fb965a1f4dc6d6675445426d4e68aa5b989fb;hp=c0a50f36ac2497d692a1eb61b7e687dff3a39dc1;hpb=1cdf25bdcce0cda33c8019439df190d66ed4e38f;p=Mograsim.git diff --git a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/mi/nandbased/GUIand.java b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/mi/nandbased/GUIand.java index c0a50f36..eb8b8880 100644 --- a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/mi/nandbased/GUIand.java +++ b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/mi/nandbased/GUIand.java @@ -45,9 +45,9 @@ public class GUIand extends SubmodelComponent new GUIWire(submodelModifiable, A, nand.getInputPins().get(0), new Point(10, 12.5), new Point(10, 26.25)); new GUIWire(submodelModifiable, B, nand.getInputPins().get(1), new Point(10, 50), new Point(10, 36.25)); - new GUIWire(submodelModifiable, nand.getOutputPin(), cp1.getPin()); - new GUIWire(submodelModifiable, cp1.getPin(), not.getInputPins().get(0), new Point(45, 26.25)); - new GUIWire(submodelModifiable, cp1.getPin(), not.getInputPins().get(1), new Point(45, 36.25)); + new GUIWire(submodelModifiable, nand.getOutputPin(), cp1); + new GUIWire(submodelModifiable, cp1, not.getInputPins().get(0), new Point(45, 26.25)); + new GUIWire(submodelModifiable, cp1, not.getInputPins().get(1), new Point(45, 36.25)); new GUIWire(submodelModifiable, not.getOutputPin(), Y); }