All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.ErrorDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----pinball.ErrorDialog

public class ErrorDialog
extends Dialog
Used for displaying error messages.


Constructor Index

 o ErrorDialog(Frame, String)
Create the window with the following message.

Method Index

 o action(Event, Object)
The events for the window.

Constructors

 o ErrorDialog
 public ErrorDialog(Frame parent,
                    String message)
Create the window with the following message.

Parameters:
parent - Frame who called the error.
message - the message to be displayed.

Methods

 o action
 public boolean action(Event e,
                       Object arg)
The events for the window. When the user presses OK, close the window.

Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index