All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class myawt.InfoDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----myawt.InfoDialog

public class InfoDialog
extends Dialog
implements ActionListener
A program information dialog. The InfoDialog displays a couple of short messages, and a public okay button - listened to by the parent as well as the dialog.


Variable Index

 o button
A button that holds the text "okay".

Constructor Index

 o InfoDialog(Frame, String, String, String)
Construct the InfoDialog box.

Method Index

 o actionPerformed(ActionEvent)

Variables

 o button
 public Button button
A button that holds the text "okay".

Constructors

 o InfoDialog
 public InfoDialog(Frame parent,
                   String title,
                   String message1,
                   String message2)
Construct the InfoDialog box.

Parameters:
parent - The parent Container.
title - The title displayed on the InfoDialog.
version - A piece of version text.
message - A message.

Methods

 o actionPerformed
 public final void actionPerformed(ActionEvent event)

All Packages  Class Hierarchy  This Package  Previous  Next  Index