Class builder.MyFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class builder.MyFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----builder.MyFrame

public class MyFrame
extends Frame
A window Frame that responds to a WINDOW_DESTROY Event.

Constructor Index

 o MyFrame()
Constructor.
 o MyFrame(String)
Main Constructor.

Method Index

 o handleEvent(Event)
handleEvent hides window when Window is destroyed.

Constructors

 o MyFrame
  public MyFrame(String title)
Main Constructor.
Parameters:
title - the Frame Title.
 o MyFrame
  public MyFrame()
Constructor.

Methods

 o handleEvent
  public boolean handleEvent(Event evt)
handleEvent hides window when Window is destroyed.
Parameters:
evt - the event that triggered this function call.
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index