Here you can find the source of showGeneralErrorDialog(Frame parent, String title, String message)
Parameter | Description |
---|---|
parent | the parent |
title | the error dialog title |
message | the message |
public static void showGeneralErrorDialog(Frame parent, String title, String message)
//package com.java2s; import java.awt.Frame; import javax.swing.JOptionPane; public class Main { /**//from w ww . ja v a 2 s . co m * Shows an error message dialog. * @param parent the parent * @param title the error dialog title * @param message the message */ public static void showGeneralErrorDialog(Frame parent, String title, String message) { JOptionPane.showMessageDialog(parent, message, title, JOptionPane.ERROR_MESSAGE); } }