Index: trunk/src/org/openstreetmap/josm/gui/MainApplication.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MainApplication.java	(revision 3097)
+++ trunk/src/org/openstreetmap/josm/gui/MainApplication.java	(revision 3098)
@@ -131,4 +131,6 @@
 
         Thread.setDefaultUncaughtExceptionHandler(new BugReportExceptionHandler());
+        // http://stuffthathappens.com/blog/2007/10/15/one-more-note-on-uncaught-exception-handlers/
+        System.setProperty("sun.awt.exception.handler", BugReportExceptionHandler.class.getName());
 
         // initialize the plaform hook, and
Index: trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java	(revision 3097)
+++ trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java	(revision 3098)
@@ -36,4 +36,10 @@
         handleException(e);
     }
+
+    //http://stuffthathappens.com/blog/2007/10/15/one-more-note-on-uncaught-exception-handlers/
+    public void handle(Throwable t) {
+        handleException(t);
+    }
+
     public static void handleException(Throwable e) {
         e.printStackTrace();
@@ -116,17 +122,17 @@
                 p.add(new JMultilineLabel(
                         tr("You have encountered an error in JOSM. Before you file a bug report " +
-                           "make sure you have updated to the latest version of JOSM here:")), GBC.eol());
+                        "make sure you have updated to the latest version of JOSM here:")), GBC.eol());
                 p.add(new UrlLabel("http://josm.openstreetmap.de/#Download"), GBC.eop().insets(8,0,0,0));
                 p.add(new JMultilineLabel(
                         tr("You should also update your plugins. If neither of those help please " +
-                           "file a bug report in our bugtracker using this link:")), GBC.eol());
+                        "file a bug report in our bugtracker using this link:")), GBC.eol());
                 p.add(new UrlLabel(url.toString(), "http://josm.openstreetmap.de/josmticket?..."), GBC.eop().insets(8,0,0,0));
                 p.add(new JMultilineLabel(
                         tr("There the error information provided below should already be " +
-                           "filled in for you. Please include information on how to reproduce " +
-                           "the error and try to supply as much detail as possible.")), GBC.eop());
+                                "filled in for you. Please include information on how to reproduce " +
+                        "the error and try to supply as much detail as possible.")), GBC.eop());
                 p.add(new JMultilineLabel(
                         tr("Alternatively, if that does not work you can manually fill in the information " +
-                           "below at this URL:")), GBC.eol());
+                        "below at this URL:")), GBC.eol());
                 p.add(new UrlLabel("http://josm.openstreetmap.de/newticket"), GBC.eop().insets(8,0,0,0));
                 try {
