public int getIntValue() {
            if (this.slider != null) {
                return this.slider.getValue();
            }
            return ((Number) this.spinner.getValue()).intValue();
        }