summaryrefslogtreecommitdiff
path: root/packages/logic-analyzer/files/cp-run-fix.patch
diff options
context:
space:
mode:
authorJohn Lee <john_lee@openmoko.org>2008-02-27 07:50:52 +0000
committerOpenmoko anonymizer key <devel@lists.openmoko.org>2008-02-27 07:50:52 +0000
commitd6f3635f2e2baa680d878461fc8fa9b68c51162b (patch)
treea07627fc6746f21a02a543381681f1cb1320b38d /packages/logic-analyzer/files/cp-run-fix.patch
parentb14906e8fa695a85b9ddf27838c959be1c8a5fad (diff)
parent9d22cb8106117d2d923bf7b2c263bf9e31b5305f (diff)
merge of '8dccbf106093aaa7b62b2a96962945185534c923'
and 'c50825ba187c292f591cf43c91216cebffb5e290'
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);
+ }
++*/
+ }
+ }