Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Developing application using Equinox + Swing under Mac OS X
Developing application using Equinox + Swing under Mac OS X [message #101599] Mon, 19 November 2007 17:14
Eclipse UserFriend
Originally posted by:

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,
Previous Topic:Exception not shown...
Next Topic:ESDK Europa: Error installing WTP bundle javax.servlet_2.4.0.v200706111738.jar
Goto Forum:

Current Time: Mon Oct 25 11:57:54 GMT 2021

Powered by FUDForum. Page generated in 0.02073 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top