Here you can find the source of popupMessage(String message)
Parameter | Description |
---|---|
message | The message to display. |
private static void popupMessage(String message)
//package com.java2s; //License from project: LGPL import javax.swing.JOptionPane; public class Main { /**//from w ww . j av a 2 s . c om * Popup a message dialog. * @param message The message to display. */ private static void popupMessage(String message) { JOptionPane.showMessageDialog(null, message, "Problem", JOptionPane.ERROR_MESSAGE); } }