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

Class gjt.MessageDialog

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

public class MessageDialog
extends GJTDialog
A dialog that displays a message and comes equipped with an Ok button with which the dialog is dismissed.

Note that there is only one MessageDialog, that gets reused. Clients must call getMessageDialog() in order to access the one and only MessageDialog.

Note: The 1.0.2 version of the AWT seems to have introduced a bug that causes pack() to work incorrectly under Win95.

See Also:
GJTDialog, MessageDialogTest, DialogTest

Method Index

 o action(Event, Object)
 o getMessageDialog(Frame, DialogClient, String, String)
 o show()

Methods

 o getMessageDialog
  public static MessageDialog getMessageDialog(Frame frame,
                                               DialogClient client,
                                               String title,
                                               String message)
 o show
  public void show()
Overrides:
show in class GJTDialog
 o action
  public boolean action(Event event,
                        Object what)
Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index