summaryrefslogtreecommitdiff
path: root/packages/logic-analyzer/files/cp-run-fix.patch
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-02-09 02:44:23 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-02-09 02:44:23 +0000
commitd19a46e55cd98c676c46929d34912a016e31ed4c (patch)
tree7bf928fea437b51e265abb783fa39d104dc3ad74 /packages/logic-analyzer/files/cp-run-fix.patch
parent14222c1af7852482b99a59590c8c71f2cfd47bcc (diff)
parent5de12a6ba0bc1fc8c0c23e718586250b24954c28 (diff)
merge of '72e0f8e82cb9baa16d65f35517d48e96a34a0bf7'
and 'b250ba17021e8536994dfe7df9782756f8801c14'
Diffstat (limited to 'packages/logic-analyzer/files/cp-run-fix.patch')
-rw-r--r--packages/logic-analyzer/files/cp-run-fix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/logic-analyzer/files/cp-run-fix.patch b/packages/logic-analyzer/files/cp-run-fix.patch
new file mode 100644
index 0000000000..401f3bb6e0
--- /dev/null
+++ b/packages/logic-analyzer/files/cp-run-fix.patch
@@ -0,0 +1,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);
+ }
++*/
+ }
+ }