- new GUIWire(submodelModifiable, cpB2, nandB2.getInputPins().get(1));
- new GUIWire(submodelModifiable, cpB3, nandB3.getInputPins().get(1));
- new GUIWire(submodelModifiable, cpB3, nandB4.getInputPins().get(1), b4);
- new GUIWire(submodelModifiable, nandA1.getOutputPin(), nandY1.getInputPins().get(0), new Point(40, 12.5), new Point(40, 7.5));
- new GUIWire(submodelModifiable, nandB1.getOutputPin(), nandY1.getInputPins().get(1), new Point(40, 37.5), new Point(40, 17.5));
- new GUIWire(submodelModifiable, nandA2.getOutputPin(), nandY2.getInputPins().get(0), new Point(42.5, 62.5), new Point(42.5, 32.5));
- new GUIWire(submodelModifiable, nandB2.getOutputPin(), nandY2.getInputPins().get(1), new Point(45, 87.5), new Point(45, 42.5));
- new GUIWire(submodelModifiable, nandA3.getOutputPin(), nandY3.getInputPins().get(0), new Point(47.5, 112.5), new Point(47.5, 57.5));
- new GUIWire(submodelModifiable, nandB3.getOutputPin(), nandY3.getInputPins().get(1), new Point(50, 137.5), new Point(50, 67.5));
- new GUIWire(submodelModifiable, nandA4.getOutputPin(), nandY4.getInputPins().get(0), new Point(52.5, 162.5), new Point(52.5, 82.5));
- new GUIWire(submodelModifiable, nandB4.getOutputPin(), nandY4.getInputPins().get(1), new Point(55, 187.5), new Point(55, 92.5));
- new GUIWire(submodelModifiable, nandY1.getOutputPin(), Y1, new Point[0]);
- new GUIWire(submodelModifiable, nandY2.getOutputPin(), Y2, new Point[0]);
- new GUIWire(submodelModifiable, nandY3.getOutputPin(), Y3, new Point[0]);
- new GUIWire(submodelModifiable, nandY4.getOutputPin(), Y4, new Point[0]);
+ new GUIWire(submodelModifiable, cpB2, nandB2.getPin("B"));
+ new GUIWire(submodelModifiable, cpB3, nandB3.getPin("B"));
+ new GUIWire(submodelModifiable, cpB3, nandB4.getPin("B"), new Point(5, 192.5));
+ new GUIWire(submodelModifiable, nandA1.getPin("Y"), nandY1.getPin("A"), new Point(42.5, 12.5), new Point(42.5, 7.5));
+ new GUIWire(submodelModifiable, nandB1.getPin("Y"), nandY1.getPin("B"), new Point(45, 37.5), new Point(45, 17.5));
+ new GUIWire(submodelModifiable, nandA2.getPin("Y"), nandY2.getPin("A"), new Point(47.5, 62.5), new Point(47.5, 32.5));
+ new GUIWire(submodelModifiable, nandB2.getPin("Y"), nandY2.getPin("B"), new Point(50, 87.5), new Point(50, 42.5));
+ new GUIWire(submodelModifiable, nandA3.getPin("Y"), nandY3.getPin("A"), new Point(52.5, 112.5), new Point(52.5, 57.5));
+ new GUIWire(submodelModifiable, nandB3.getPin("Y"), nandY3.getPin("B"), new Point(55, 137.5), new Point(55, 67.5));
+ new GUIWire(submodelModifiable, nandA4.getPin("Y"), nandY4.getPin("A"), new Point(57.5, 162.5), new Point(57.5, 82.5));
+ new GUIWire(submodelModifiable, nandB4.getPin("Y"), nandY4.getPin("B"), new Point(60, 187.5), new Point(60, 92.5));
+ new GUIWire(submodelModifiable, nandY1.getPin("Y"), Y1, new Point[0]);
+ new GUIWire(submodelModifiable, nandY2.getPin("Y"), Y2, new Point[0]);
+ new GUIWire(submodelModifiable, nandY3.getPin("Y"), Y3, new Point[0]);
+ new GUIWire(submodelModifiable, nandY4.getPin("Y"), Y4, new Point[0]);