The JProgressBar() constructor creates an instance of a JProgressBar
The following methods in this group control the minimum, maximum, and current values of the progress bar:
public int getValue() public int getMinimum() public int getMaximum() public void setValue(int n) public void setMinimum(int n) public void setMaximum(int n)
The following methods manage the change listener used by the progress bar. A change event can optionally be generated each time the progress bar value changes.
protected ChangeListener createChangeListener() public void addChangeListener(ChangeListener l) public void removeChangeListener(ChangeListener l)
These methods manage the model used by the progress bar instance. By default, JProgressBar will assign a default model, but custom models can be created and added to the instance, if desired.
public BoundedRangeModel getModel() public void setModel(BoundedRangeModel newModel)