- new GUIWire(submodelModifiable, cp1, nandS0.getInputPins().get(1), new Point[0]);
- new GUIWire(submodelModifiable, nandS0.getOutputPin(), nandI0.getInputPins().get(0));
- new GUIWire(submodelModifiable, I0, nandI0.getInputPins().get(1), new Point[0]);
- new GUIWire(submodelModifiable, cp1, nandI1.getInputPins().get(0), new Point(5, 52.5));
- new GUIWire(submodelModifiable, I1, nandI1.getInputPins().get(1), new Point[0]);
- new GUIWire(submodelModifiable, nandI0.getOutputPin(), nandY.getInputPins().get(0));
- new GUIWire(submodelModifiable, nandI1.getOutputPin(), nandY.getInputPins().get(1));
- new GUIWire(submodelModifiable, nandY.getOutputPin(), Y);
+ new GUIWire(submodelModifiable, cp1, nandS0.getPin("B"), new Point[0]);
+ new GUIWire(submodelModifiable, nandS0.getPin("Y"), nandI0.getPin("A"));
+ new GUIWire(submodelModifiable, I0, nandI0.getPin("B"), new Point[0]);
+ new GUIWire(submodelModifiable, cp1, nandI1.getPin("A"), new Point(5, 52.5));
+ new GUIWire(submodelModifiable, I1, nandI1.getPin("B"), new Point[0]);
+ new GUIWire(submodelModifiable, nandI0.getPin("Y"), nandY.getPin("A"));
+ new GUIWire(submodelModifiable, nandI1.getPin("Y"), nandY.getPin("B"));
+ new GUIWire(submodelModifiable, nandY.getPin("Y"), Y);