org.freehep.swing
Class ErrorDialog
java.lang.Object
  
org.freehep.swing.ErrorDialog
- public class ErrorDialog
- extends Object
  
A utility for displaying errors in dialogs.
- Author:
 
  - Tony Johnson
 
- Source Code:
 - ErrorDialog.java
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
showErrorDialog
public static void showErrorDialog(Component source,
                                   Object message,
                                   Throwable detail)
- Creates a dialog which will display a message to the user.
 If a Throwable is provided the user can click the "Details" button to
 get a full stack trace, including any nested errors ("caused by").
- Parameters:
 source - The parent component to be used for the dialog (may be null)message - The message to be displayed in the dialogdetail - The exception that caused the error (may be null)
 
 
Copyright © 2000-2004 FreeHEP, All Rights Reserved.