List of usage examples for javax.swing JSlider setExtent
@BeanProperty(bound = false, expert = true, description = "Size of the range covered by the knob.") public void setExtent(int extent)
From source file:Main.java
public static void main(String[] argv) throws Exception { JSlider slider = new JSlider(); int newExtent = 10; slider.setExtent(newExtent); }
From source file:Main.java
public static void main(String[] argv) throws Exception { JSlider slider = new JSlider(); // Set an extent int extent = 10; slider.setExtent(extent); }