Class win.ClosableFrame.ClosableFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class win.ClosableFrame.ClosableFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----win.ClosableFrame.ClosableFrame

public class ClosableFrame
extends Frame
A simple frame that exits the applet viewer if you close it.

Constructor Index

 o ClosableFrame(String)
construct the frame

Method Index

 o handleEvent(Event)
override handleEvent() so that the system exits.

Constructors

 o ClosableFrame
  public ClosableFrame(String title)
construct the frame
Parameters:
title - the title for the title bar

Methods

 o handleEvent
  public boolean handleEvent(Event e)
override handleEvent() so that the system exits.
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index