Here you can find the source of showErrorMessage(String message, int errorCode)
public static void showErrorMessage(String message, int errorCode)
//package com.java2s; //License from project: Open Source License import javax.swing.JOptionPane; public class Main { public static void showErrorMessage(String message, int errorCode) { JOptionPane.showMessageDialog(null, message + "\naaaa\naaaa\naaaa", "Fatal error", JOptionPane.ERROR_MESSAGE); //System.out.println("aaa"); //System.exit(errorCode); }/* w w w . j a va2 s . c o m*/ }