Class games.Battle.client.ClientApplet.ClientAbortDialog
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class games.Battle.client.ClientApplet.ClientAbortDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----games.Battle.client.ClientApplet.ClientAbortDialog

public class ClientAbortDialog
extends Frame
A specialized dialog class used for shutting down the game client in the event of a communication problem with the game server.

Constructor Index

 o ClientAbortDialog(Applet, Thread)
Builds the dialog box, telling it which applet to kill if the user requests it, and which thread to suspend to make the dialog box appear modal.

Method Index

 o handleEvent(Event)
Processes the dialog box events

Constructors

 o ClientAbortDialog
  public ClientAbortDialog(Applet applet,
                           Thread t)
Builds the dialog box, telling it which applet to kill if the user requests it, and which thread to suspend to make the dialog box appear modal. The suspended thread is resumed when the dialog box is closed.
Parameters:
applet - the applet to resume or kill
thread - the thread to block on to give modal behaviour

Methods

 o handleEvent
  public boolean handleEvent(Event e)
Processes the dialog box events
Parameters:
e - the event being handled
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index