All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.Widgets.WarningBox

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----Acme.Widgets.OkDialog
                                           |
                                           +----Acme.Widgets.WarningBox

public class WarningBox
extends OkDialog
A warning-box.

Puts up a dialog with a warning icon, a specified message, and an Ok button. All user input is locked out until the button is clicked.

Sample usage:


 WarningBox w = new WarningBox( this, "Sample WarningBox" );
 w.show();
 

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o WarningBox(Frame, String)
Constructor, default title.
 o WarningBox(Frame, String, String)
Constructor, specified title.

Constructors

 o WarningBox
 public WarningBox(Frame parent,
                   String message)
Constructor, default title.

 o WarningBox
 public WarningBox(Frame parent,
                   String title,
                   String message)
Constructor, specified title.


All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs