All Packages Class Hierarchy This Package Previous Next Index
Class tea.awt.dialog.MessageDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----tea.awt.dialog.BoxDialog
|
+----tea.awt.dialog.MessageDialog
- public class MessageDialog
- extends BoxDialog
This Dialog shows a message.
- Version:
- 1.0 beta - 31 May 1997
- Author:
- Leonardo Boselli
-
MessageDialog(Frame, String, String)
- The significative parameter of this constructor is the String that contains
the text of the displayed message.
-
changeSpokenLanguage(String)
- Implements a method of the LanguageSpeaker interface and listens
to the changes of the spoken language.
MessageDialog
public MessageDialog(Frame parent,
String title,
String message)
- The significative parameter of this constructor is the String that contains
the text of the displayed message. The message can contain '\n' characters
where the programmer wants the text jump to a new line.
- Parameters:
- parent - the Frame parent.
- title - the Dialog title.
- message - the message String.
changeSpokenLanguage
public boolean changeSpokenLanguage(String l)
- Implements a method of the LanguageSpeaker interface and listens
to the changes of the spoken language.
- Parameters:
- l - the spoken language.
- Returns:
- if the language is supported or not.
- Overrides:
- changeSpokenLanguage in class BoxDialog
All Packages Class Hierarchy This Package Previous Next Index