public void setOut(int i, boolean aBoolean) {
        for (int j = 0; j < components.getLength(); j++) {
            Componente component = components.get(j);
            if (component.equals(i)) {
                component.changeDigitalValue(aBoolean);
                break;
            }

        }
        repaint();
    }