public void hideWires() {
		if (!this.hiddenwires) {
			this.hiddenwires = true;

			if (this.jBreadBoard.getMode() != null && this.jBreadBoard.getMode().equals("wire")) {
				this.jBreadBoard.setMode("move", "OK");
			}
			Component[] components = this.getComponentsInLayer(Circuit.WireLayer);

			for (Component component2 : components) {
				if (component2 instanceof Wire) {
					Wire wire = (Wire) component2;
					wire.setVisible(false);
				}

			}

			this.repaint();
		}
	}