Java JOptionPane Message ShowOkMessage(String msg)

Here you can find the source of ShowOkMessage(String msg)

Description

Show Ok Message

License

Open Source License

Declaration

public static void ShowOkMessage(String msg) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.JOptionPane;

public class Main {
    public static void ShowOkMessage(String msg) {
        JOptionPane.showMessageDialog(null, msg);
        //ConfirmDialog(null, msg, "Message dialog", JOptionPane.INFORMATION_MESSAGE);
    }/*from   w  w w. java2 s.  c o m*/
}

Related

  1. showMessage(String title, String message, java.awt.Component parent)
  2. showMessageInEventQueue(final String message, final String title)
  3. showMessages(Component parent, List messages)
  4. showMsg(final Container parent, final String message)
  5. ShowOkCancelMessage(String msg)
  6. showPrettyYesNoPane(Component caller, String msg, String title)
  7. showQuestionThreeChoicesBox(Component pParent, String pMessage, String pTitle, String pLeftOption, String pMiddleOption, String pRightOption)
  8. showSuccessMessage(Component parentComponent, String message)
  9. showYesNo(Component parent, String title, String message)