Class semper.tinguin.ConfirmBox
All Packages Class Hierarchy This Package Previous Next Index
Class semper.tinguin.ConfirmBox
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----semper.tinguin.BugDialog
|
+----semper.tinguin.ConfirmBox
- public class ConfirmBox
- extends BugDialog
Present a dialog box with a simple muliline message string.
The box contains a button. As the button is pressed the dislog is closed.
This message string may contain '\n' to separate lines. This is achieved by using
the MultiLineLabel Widget by David Flanagen. See "java in a Nutshelll", by David
Flanagen, O'Reilly. Is this used by Preferences?
- Version:
- 0.2
- Author:
- Tobias Himstedt
-
ConfirmBox(Frame, String, String, String)
- Construct the a new confirm dialog.
ConfirmBox
public ConfirmBox(Frame parent,
String title,
String message,
String ok_label)
- Construct the a new confirm dialog.
- Parameters:
- parent - The parent frame of this dialog.
- title - The title for the dialog, appears in the window title.
- message - A multiline string message that might include
'\n' to seperate lines.
- ok_label - The label that appears in the ok button.
All Packages Class Hierarchy This Package Previous Next Index