ann.gui.CloseableFrame

 

CloseableFrame.java - creates a frame that will handle window close events correctly. This class extend JFrame.

 

public CloseableFrame()

Default constructor

Postcondition: I have been initialized:

 

public CloseableFrame(String title)

Explicit Point constructor

Receive: title, a String.

Postcondition: I have been initialized: the title of the frame has been set;

 

public static void main(String [] args)

main function

This class can be used as a standalone application. It will create an instance of itself and make itself visible.

 

 


Back to the package documentation index


Back to the Introduction


Copyright 2000 by Prentice Hall. All rights reserved.