Here you can find the source of showSignatureUpdateErrorDialog(Frame parent, Throwable e)
Parameter | Description |
---|---|
parent | the parent |
e | the exception that caused the message |
public static void showSignatureUpdateErrorDialog(Frame parent, Throwable e)
//package com.java2s; import java.awt.Frame; import javax.swing.JOptionPane; public class Main { /** *//* w w w .j av a 2 s . c o m*/ private static final String SIGNATURE_UPDATE = "Signature update"; /** * Shows an error message dialog. * @param parent the parent * @param e the exception that caused the message */ public static void showSignatureUpdateErrorDialog(Frame parent, Throwable e) { JOptionPane.showMessageDialog(parent, e.getLocalizedMessage(), SIGNATURE_UPDATE, JOptionPane.ERROR_MESSAGE); } }