javax.swing
Class JProgressBar

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JProgressBar

public class JProgressBar extends JComponent

Constructor Summary
JProgressBar()
          Creates a horizontal progress bar that displays a border but no progress string.
JProgressBar(int min, int max)
          Creates a horizontal progress bar with the specified minimum and maximum.
 
Method Summary
 int getMaximum()
          Returns the progress bar's maximum value, which is stored in the progress bar's BoundedRangeModel.
 int getMinimum()
          Returns the progress bar's minimum value, which is stored in the progress bar's BoundedRangeModel.
 int getValue()
          Returns the progress bar's current value, which is stored in the progress bar's BoundedRangeModel.
 boolean isIndeterminate()
          Returns the value of the indeterminate property.
 void setIndeterminate(boolean newValue)
          Sets the indeterminate property of the progress bar, which determines whether the progress bar is in determinate or indeterminate mode.
 void setMaximum(int n)
          Sets the progress bar's maximum value (stored in the progress bar's data model) to n.
 void setMinimum(int n)
          Sets the progress bar's minimum value (stored in the progress bar's data model) to n.
 void setValue(int n)
          Sets the progress bar's current value (stored in the progress bar's data model) to n.