List of usage examples for javax.swing JProgressBar setMinimum
@BeanProperty(bound = false, preferred = true, description = "The progress bar's minimum value.") public void setMinimum(int n)
n
. From source file:org.jets3t.gui.skins.SkinsFactory.java
/** * @param itemName//from w w w.j a va 2s. c o m * the name of this specific item in the GUI, which may be used to determine how the skinned * item should look or behave. * * @return * a <code>SkinnedJProgressBar</code> class implementation for the current skin, or a default * JProgressBar if no skin-specific implementation is available. */ public JProgressBar createSkinnedJProgressBar(String itemName, int min, int max) { JProgressBar jProgressBar = (JProgressBar) instantiateClass(buildSkinnedClassName("SkinnedJProgressBar"), itemName); if (jProgressBar != null) { jProgressBar.setMinimum(min); jProgressBar.setMaximum(max); return jProgressBar; } else { jProgressBar = new JProgressBar(min, max); return jProgressBar; } }