aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/logic-analyzer/files/cp-run-fix.patch
blob: 401f3bb6e03e049c910bbbb3a7bf6f744d53a3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: LogicAnalyzer/client/org/sump/analyzer/Loader.java
===================================================================
--- LogicAnalyzer.orig/client/org/sump/analyzer/Loader.java	2008-02-08 23:34:14.000000000 +0100
+++ LogicAnalyzer/client/org/sump/analyzer/Loader.java	2008-02-08 23:46:40.000000000 +0100
@@ -90,12 +90,19 @@
 			}
 		}
 		
-		try {
-			SwingUtilities.invokeAndWait(w);
+//		try {
+
+      /* Constructing and running the GUI from withing the Swing thread
+      is right and nice but does not work in Classpath (yet):
+      */
+//			SwingUtilities.invokeAndWait(w);
+			w.run();
+/*
 		} catch (Exception e) {
 			System.out.println("Error while invoking application: " + e.getMessage() + "\n");
 			e.printStackTrace();
 			System.exit(-1);
 		}
+*/
 	}
 }