com.bea.wlpi.client.common
Class MessageDialog
java.lang.Object
|
+--com.bea.wlpi.client.common.MessageDialog
- public class MessageDialog
- extends java.lang.Object
- implements java.awt.event.ActionListener
A dialog to display a message in a scrollable text area. This class is
exists because of a problem in the current Swing JOptionPane implementation,
whereby a JOptionPane does not correctly resize custom components embedded
within it.
Constructor Summary |
MessageDialog(java.awt.Component parentComponent,
java.lang.String message)
Create a new MessageDialog . |
MessageDialog(java.awt.Component parentComponent,
java.lang.String message,
int messageType)
Create a new MessageDialog . |
MessageDialog(java.awt.Component parentComponent,
java.lang.String message,
int messageType,
int width,
int height,
java.lang.String title)
Create a new MessageDialog . |
MessageDialog(java.awt.Component parentComponent,
java.lang.String message,
int messageType,
java.lang.String title)
Create a new MessageDialog . |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MessageDialog
public MessageDialog(java.awt.Component parentComponent,
java.lang.String message)
- Create a new
MessageDialog
.
- Parameters:
parentComponent
- The owner for this dialog.message
- The message to display.
MessageDialog
public MessageDialog(java.awt.Component parentComponent,
java.lang.String message,
int messageType)
- Create a new
MessageDialog
.
- Parameters:
parentComponent
- The owner for this dialog.message
- The message to display.messageType
- The icon to display:
javax.swing.JOptionPane.ERROR_MESSAGE, WARNING_MESSAGE,
INFORMATION_MESSAGE, QUESTION_MESSAGE, PLAIN_MESSAGE
.
MessageDialog
public MessageDialog(java.awt.Component parentComponent,
java.lang.String message,
int messageType,
java.lang.String title)
- Create a new
MessageDialog
.
- Parameters:
parentComponent
- The owner for this dialog.message
- The message to display.messageType
- The icon to display:
javax.swing.JOptionPane.ERROR_MESSAGE, WARNING_MESSAGE,
INFORMATION_MESSAGE, QUESTION_MESSAGE, PLAIN_MESSAGE
.title
- The dialog title.
MessageDialog
public MessageDialog(java.awt.Component parentComponent,
java.lang.String message,
int messageType,
int width,
int height,
java.lang.String title)
- Create a new
MessageDialog
.
- Parameters:
parentComponent
- The owner for this dialog.message
- The message to display.messageType
- The icon to display:
javax.swing.JOptionPane.ERROR_MESSAGE, WARNING_MESSAGE,
INFORMATION_MESSAGE, QUESTION_MESSAGE, PLAIN_MESSAGE
.title
- The dialog title.width
- The dialog width.height
- The dialog height.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
- actionPerformed in interface java.awt.event.ActionListener
WebLogic and Process Integrator are trademarks of BEA Systems, Inc.
Copyright (c) 2000 BEA Systems, Inc., 8920 Woodbine Avenue, Suite 400,
Markham, Ontario L3R 9W9 Canada. All rights reserved.