All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.ui.framework.java.MessageBoxDialog

java.lang.Object
   |
   +----com.ibm.as400.ui.framework.java.MessageBoxDialog

public class MessageBoxDialog
extends Object

Constructor Index

 o MessageBoxDialog()

Method Index

 o showMessageDialog(Component, String, String, int)
Displays a message dialog with an OK button.

Constructors

 o MessageBoxDialog
 public MessageBoxDialog()

Methods

 o showMessageDialog
 public static void showMessageDialog(Component parent,
                                      String msg,
                                      String title,
                                      int type)
Displays a message dialog with an OK button.

Parameters:
parent - Determines the Frame in which the dialog is displayed. If null, or if the parent component has no Frame, a default Frame is used.
msg - Localized message to display.
title - Localized titlebar text.
type - the type of message that is to be displayed: JOptionPane.ERROR_MESSAGE, JOptionPane.INFORMATION_MESSAGE, JOptionPane.WARNING_MESSAGE, JOptionPane.QUESTION_MESSAGE, or JOptionPane.PLAIN_MESSAGE.

All Packages  Class Hierarchy  This Package  Previous  Next  Index