Großmarkt

market
Class JDDShowMessage

java.lang.Object
  |
  +--market.JDDShowMessage

public class JDDShowMessage
extends Object

Provides a JDisplayDialog that shows a simple MsgForm.


Constructor Summary
JDDShowMessage()
           
 
Method Summary
static JDisplayDialog showMessageDialog(FormSheet parent, String message, String caption)
          Creates a JDisplayDialog that shows a short message, the JDisplayDialog will pop up in the center of the given FormSheet.
static JDisplayDialog showMessageDialog(String message, String caption)
          Creates a JDisplayDialog that shows a short message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDDShowMessage

public JDDShowMessage()
Method Detail

showMessageDialog

public static JDisplayDialog showMessageDialog(String message,
                                               String caption)
Creates a JDisplayDialog that shows a short message.

Parameters:
message - the message to be shown.
caption - the caption of the MsgForm.

showMessageDialog

public static JDisplayDialog showMessageDialog(FormSheet parent,
                                               String message,
                                               String caption)
Creates a JDisplayDialog that shows a short message, the JDisplayDialog will pop up in the center of the given FormSheet. The SalesPoint of the given FormSheet will be suspended while the message is shown.

Parameters:
parent - FormSheet to which the position of the JDisplayDialog is set relative to.
message - the message to be shown.
caption - the caption of the MsgForm.

Großmarkt