All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ptolemy.plot.Message

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----ptolemy.plot.Message

public class Message
extends Frame
A simple message display with a close button. This will eventually replaced by a class from JFC.

Version:
$Id: Message.java,v 1.22 1998/11/23 17:30:17 cxh Exp $
Author:
Christopher Hylands

Constructor Index

 o Message(String)
Pop up a text widget with no scroll bar and close button.
 o Message(String, Color, Color, int, int, int)
Pop up a text widget with a close button.

Constructors

 o Message
 public Message(String msg)
Pop up a text widget with no scroll bar and close button.

 o Message
 public Message(String msg,
                Color background,
                Color foreground,
                int rows,
                int columns,
                int scrollbars)
Pop up a text widget with a close button. If the background parameter is null, then it is ignored. If the foreground parameter is null, then it is ignored.

Parameters:
msg - The message to display.
background - The background Color.
foreground - The foreground Color.
rows - The number of rows to display.
columns - The number of columns to display.
int - Determines scrollbar visibility, should be one of TextArea.SCROLLBARS_BOTH, TextArea.SCROLLBARS_NONE, TextArea.SCROLLBARS_HORIZONTAL_ONLY or TextArea.SCROLLBARS_VERTICAL_ONLY.

All Packages  Class Hierarchy  This Package  Previous  Next  Index