Here you can find the source of inform(String message)
public static void inform(String message)
//package com.java2s; //License from project: Open Source License import javax.swing.JOptionPane; public class Main { public static void inform(String message) { inform(message, "Information"); }/*from w ww.j av a 2s. c o m*/ public static void inform(String message, String title) { JOptionPane.showMessageDialog(null, message, title, JOptionPane.INFORMATION_MESSAGE); } }