Class gjt.ProgressDialog
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.ProgressDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----gjt.GJTDialog
                                           |
                                           +----gjt.ProgressDialog

public class ProgressDialog
extends GJTDialog
A dialog that uses a bargauge to indicate progress made on a task that presumably takes some time to complete. ProgressDialog implements the singleton pattern: clients may only access the one and only ProgressDialog through the static getProgressDialog() method.

Note: The 1.0.2 version of the AWT has introduced a bug that breaks the ProgressDialog under Motif - the bargauge does not function. This worked fine in 1.0.1.

See Also:
GJTDialog, Bargauge, DialogTest

Method Index

 o done()
 o getProgressDialog(Frame, String, Color)
 o preferredSize()
 o reset()
 o setPercentComplete(double)

Methods

 o getProgressDialog
  public static ProgressDialog getProgressDialog(Frame frame,
                                                 String title,
                                                 Color color)
 o setPercentComplete
  public void setPercentComplete(double percent)
 o reset
  public void reset()
 o done
  public void done()
 o preferredSize
  public Dimension preferredSize()
Overrides:
preferredSize in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index