WindowBuilder and ImageJ

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

WindowBuilder and ImageJ

vcaldas
I'm stating in ImageJ plugin development and I tried to design a GUI using
WindowBuilder (in Eclipse).

But it simply don't work on ImageJ (Runs in Eclipse, Runs like a runnable Jar...)

I developed several other simple plugins before - which all work - but this,
with the GUI combination don't.

Does someone had the same problem?

The code can be found here:
https://github.com/vcaldas/iSBTools/blob/master/iSBTools/src/GUI/PreProcessingGui.java

Thanks
ps. Let me know if you now some good source for imageJ Gui development.

Victor
Reply | Threaded
Open this post in threaded view
|

Re: WindowBuilder and ImageJ

Marcel
Hello,

did you configure your exported plugin (*.jar) correctly following the naming conventions, etc. , see:

http://rsbweb.nih.gov/ij/plugins/jar-demo.html

Is the required SWT library accessible for ImageJ? Try to add the SWT lib seperately to the ImageJ
classpath if it makes a difference.

If you use SWT with Swing you have to be careful (see Thread-Safe Messaging between Swing and SWT -  articles below):

http://eclipsezone.com/eclipse/forums/t45697.html
http://www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration/index.html


Else: Run ImageJ from the command line and/or try to get errors in debug mode:

http://rsbweb.nih.gov/ij/docs/guide/146-24.html

I hope this info helps.




Reply | Threaded
Open this post in threaded view
|

Re: WindowBuilder and ImageJ

vcaldas
Thanks for the reply,

I got some debug messages and will work on them.
I'll post it here as soon as it is solved.

In this mean time, I developed the gui using Swing and it works!

Cheers.