Here you can find the source of showNothingIsSelectedForRemoveDialog(Frame parent)
Parameter | Description |
---|---|
parent | the dialog's parent |
static void showNothingIsSelectedForRemoveDialog(Frame parent)
//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); } }