Code example for JSlider

Methods: setMaximum

0
    /** 
     * Sets the slider's maximum value. 
     */ 
    public void setMaximum (int maximum)
    { 
        _slider.setMaximum(maximum);
    } 
 
    protected JLabel _label;
    protected JSlider _slider;
    protected JLabel _value;
} 
Experience pair programming with AI  Get Codota for Java