public void setVisible(boolean b) {
            boolean radioButtonsAllowed = true;
            Boolean z = (Boolean) getClientProperty(MODE_CONTROLS_VISIBLE_PROPERTY);
            if (z != null) {
                radioButtonsAllowed = z.booleanValue();
            }

            this.radioButton.setVisible(b && radioButtonsAllowed);
            if (this.slider != null) {
                this.slider.setVisible(b);
            }
            if (this.spinner != null) {
                this.spinner.setVisible(b);
            }
            this.label.setVisible(b);
        }