Java JFrame messageDialog(String string, JFrame parentFrame)

Here you can find the source of messageDialog(String string, JFrame parentFrame)

Description

message Dialog

License

Open Source License

Declaration

public static void messageDialog(String string, JFrame parentFrame) 

Method Source Code

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

import javax.swing.JDialog;

import javax.swing.JFrame;

import javax.swing.JOptionPane;

public class Main {
    public static void messageDialog(String string, JFrame parentFrame) {
        JOptionPane.showMessageDialog(parentFrame, string);
    }/*from   ww w .ja  v  a2 s. c  o m*/

    public static void messageDialog(String string, JDialog parentDialog) {
        JOptionPane.showMessageDialog(parentDialog, string);
    }
}

Related

  1. makeTrans(JFrame frmDisks, float f)
  2. maxamiseWindow(JFrame window)
  3. maximizeJFrame(JFrame f)
  4. maximizeWindow(JFrame window)
  5. maxIt(JFrame jFrame)
  6. metalLookAndFeel(JFrame appFrame)
  7. minimize(JFrame frame)
  8. msgBox(JFrame frame, String title, String message)
  9. newDialog(JFrame owner, String title, JPanel content)