Java JFrame Show showSuccess(JFrame frame)

Here you can find the source of showSuccess(JFrame frame)

Description

show Success

License

Open Source License

Declaration

public static void showSuccess(JFrame frame) 

Method Source Code

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

import javax.swing.JFrame;

import javax.swing.JOptionPane;

public class Main {
    public static final String SAVE_SUCCESS_TITLE = "Succcess!";
    public static final String SAVE_SUCCESS_MESSAGE = "Wrote file successfully!";

    public static void showSuccess(JFrame frame) {
        JOptionPane.showMessageDialog(frame, SAVE_SUCCESS_MESSAGE, SAVE_SUCCESS_TITLE,
                JOptionPane.INFORMATION_MESSAGE);
    }/*from   w w w.  ja  v  a  2 s  .com*/
}

Related

  1. showFrame(JFrame frame, JFrame parent)
  2. showHelp(JFrame frame, String path)
  3. showModalFrame(final JFrame newFrame, final JFrame owner)
  4. showOnScreen(int screen, JFrame frame)
  5. showSaveDialog(JFrame parent, String message)
  6. showTextboxDialog(javax.swing.JFrame frame, String texto, String title, String valorInicial, int type)