Here you can find the source of showAlert(String message)
Parameter | Description |
---|---|
message | The message to display. |
public static void showAlert(String message)
//package com.java2s; //License from project: Open Source License import javax.swing.JOptionPane; public class Main { /** Uses the JOptionPane.showMessageDialog() method to display the specified alert message./*from w w w. j a v a 2 s. c o m*/ @param message The message to display. */ public static void showAlert(String message) { JOptionPane.showMessageDialog(null, message, "JFMI Alert", JOptionPane.INFORMATION_MESSAGE); } }