Developing application using Equinox + Swing under Mac OS X [message #101599] |
Mon, 19 November 2007 12:14 |
Eclipse User |
|
|
|
Originally posted by: dwippermann.gmx.net
Hi all,
I'm currently evaluating possible solutions for an OSGi-based Swing
application. Some articles on the web state that this is possible, but
I have problems debugging it using Eclipse on Mac OS X...
For testing purposes, I created a simple plugin and tried to open a
JFrame in its activator's "start" method through
"SwingUtilities.invokeAndWait". But if I start this plugin using the
"Debug OSGi Framework" launch type, weird things happen:
1) My console outputs:
2007-11-19 18:00:56.192 java[43650:10b] [Java CocoaComponent
compatibility mode]: Enabled
2007-11-19 18:00:56.193 java[43650:10b] [Java CocoaComponent
compatibility mode]: Setting timeout for SWT to 0.100000
Although I never used SWT...
2) The JFrame is created and visible, but stays behind the Eclipse
main window, totally non-responsive (even the window caption buttons
in the upper left corner stay grey).
I found several newsgroup/mailinglist messages mainly concerning JVM
on a second thread. But everything I tried to pass this "--
launcher.secondThread" argument into Eclipse's "Debug OSGi Framework"
launch type failed up to now... Any hint how to debug a Swing+Equinox-
app from Eclipse under OS X?
Thanks in advance,
Daniel
|
|
|
Powered by
FUDForum. Page generated in 1.08207 seconds