java.lang.Object
com.eireneh.swing.ExceptionPane
- public class ExceptionPane
- extends java.lang.Object
A simple way of reporting problems to the user
This is probably too simplistic for a full-on
public app, but it is probably simple enough for
us to use here.
Distribution Licence:
Project B is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License,
version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
The License is available on the internet
here, by writing to
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA, Or locally at the Licence link below.
The copyright to this program is held by it's authors.
|
|
Method Summary |
static boolean |
getHelpDeskListener()
You must call setJoinHelpDesk() in order to start displaying
Exceptions sent to the Log, and in order to properly
close this class you must call it again (with false). |
static void |
setHelpDeskListener(boolean joined)
You must call setJoinHelpDesk() in order to start displaying
Exceptions sent to the Log, and in order to properly
close this class you must call it again (with false). |
static void |
showExceptionDialog(java.awt.Component comp,
java.lang.Throwable ex)
Show an option pane containing the exception |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
li
private static ExceptionPane.CustomCaptureListener li
- The listener that pops up the ExceptionPanes
ExceptionPane
public ExceptionPane()
showExceptionDialog
public static void showExceptionDialog(java.awt.Component comp,
java.lang.Throwable ex)
- Show an option pane containing the exception
setHelpDeskListener
public static void setHelpDeskListener(boolean joined)
- You must call setJoinHelpDesk() in order to start displaying
Exceptions sent to the Log, and in order to properly
close this class you must call it again (with false).
getHelpDeskListener
public static boolean getHelpDeskListener()
- You must call setJoinHelpDesk() in order to start displaying
Exceptions sent to the Log, and in order to properly
close this class you must call it again (with false).