Java JFrame Parent showNothingIsSelectedForRemoveDialog(Frame parent)

Here you can find the source of showNothingIsSelectedForRemoveDialog(Frame parent)

Description

Shows the 'update was successful' dialog.

License

Open Source License

Parameter

Parameter Description
parent the dialog's parent

Declaration

static void showNothingIsSelectedForRemoveDialog(Frame parent) 

Method Source Code


//package com.java2s;
import java.awt.Frame;

import javax.swing.JOptionPane;

public class Main {
    /**//w ww  .j  a  v a  2 s. c om
     * Shows the 'update was successful' dialog.
     * @param parent the dialog's parent
     */
    static void showNothingIsSelectedForRemoveDialog(Frame parent) {
        JOptionPane.showMessageDialog(parent, "Nothing is selected to remove.", "Nothing selected to remove.",
                JOptionPane.INFORMATION_MESSAGE);
    }
}

Related

  1. showDialog(Frame aParent, String aMsg, String aTitle, int aType)
  2. showDialog(Frame parent, String title, JComponent c)
  3. showDoneDialog(Frame parent, String title, JComponent c)
  4. showGeneralErrorDialog(Frame parent, String title, String message)
  5. showInfoDialog(final Frame parent, final String msg)
  6. showSignatureUpdateErrorDialog(Frame parent, Throwable e)