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.
-
button
- A button that holds the text "okay".
-
InfoDialog(Frame, String, String, String)
- Construct the InfoDialog box.
-
actionPerformed(ActionEvent)
-
button
public Button button
- A button that holds the text "okay".
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.
actionPerformed
public final void actionPerformed(ActionEvent event)
All Packages Class Hierarchy This Package Previous Next Index