Java JOptionPane Message showMessage(final Component rootComponent, final String message, final String title)

Here you can find the source of showMessage(final Component rootComponent, final String message, final String title)

Description

show Message

License

BSD License

Declaration

public static void showMessage(final Component rootComponent, final String message, final String title) 

Method Source Code


//package com.java2s;
//License from project: BSD License 

import java.awt.Component;
import javax.swing.JOptionPane;

public class Main {
    public static void showMessage(final Component rootComponent, final String message, final String title) {
        JOptionPane.showMessageDialog(rootComponent, message, title, JOptionPane.INFORMATION_MESSAGE);
    }/*w  w  w .ja  v  a  2 s .  c  om*/
}

Related

  1. showMessage(Component component, String message)
  2. showMessage(Component item, String title)
  3. showMessage(Component parent, String message, int messageType)
  4. showMessage(Component parent, String msg, String title, int flags)
  5. showMessage(Component parentComponent, String title, String message, int messageType)
  6. showMessage(final String message)
  7. showMessage(final String message)
  8. showMessage(final String msg, Component parent)
  9. showMessage(final Window aParent, final String aMessage)