]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/NexuizDemoRecorder/main/src/main/java/com/nexuiz/demorecorder/ui/swinggui/utils/ShowErrorDialogExceptionHandler.java
fix lots of CRLFs
[xonotic/xonotic.git] / misc / tools / NexuizDemoRecorder / main / src / main / java / com / nexuiz / demorecorder / ui / swinggui / utils / ShowErrorDialogExceptionHandler.java
index 41e9b78230a60217ea4fa642979c265ae1e3b1cd..733ff370a811331d94e69162c9217119b66cc01f 100644 (file)
@@ -1,21 +1,21 @@
-package com.nexuiz.demorecorder.ui.swinggui.utils;\r
-\r
-import java.awt.Component;\r
-import java.lang.Thread.UncaughtExceptionHandler;\r
-\r
-import org.jdesktop.swingx.JXErrorPane;\r
-import org.jdesktop.swingx.error.ErrorInfo;\r
-\r
-public class ShowErrorDialogExceptionHandler implements UncaughtExceptionHandler {\r
-\r
-       private static Component parentWindow = null;\r
-       \r
-       public void uncaughtException(Thread t, Throwable e) {\r
-               ErrorInfo info = new ErrorInfo("Error occurred", e.getMessage(), null, null, e, null, null);\r
-               JXErrorPane.showDialog(parentWindow, info);\r
-       }\r
-\r
-       public static void setParentWindow(Component c) {\r
-               parentWindow = c;\r
-       }\r
-}\r
+package com.nexuiz.demorecorder.ui.swinggui.utils;
+
+import java.awt.Component;
+import java.lang.Thread.UncaughtExceptionHandler;
+
+import org.jdesktop.swingx.JXErrorPane;
+import org.jdesktop.swingx.error.ErrorInfo;
+
+public class ShowErrorDialogExceptionHandler implements UncaughtExceptionHandler {
+
+       private static Component parentWindow = null;
+       
+       public void uncaughtException(Thread t, Throwable e) {
+               ErrorInfo info = new ErrorInfo("Error occurred", e.getMessage(), null, null, e, null, null);
+               JXErrorPane.showDialog(parentWindow, info);
+       }
+
+       public static void setParentWindow(Component c) {
+               parentWindow = c;
+       }
+}