public class ProgressMonitorExample extends JPanel implements ActionListener
Fields Summary
static ProgressMonitor
pbar
static int
counter
Constructors Summary
public ProgressMonitorExample()
super(true);
pbar = new ProgressMonitor(this, "Monitoring Progress",
"Initializing . . .", 0, 100);
// Fire a timer every once in a while to update the progress
Timer timer = new Timer(500, this);
timer.start();