Click to See Complete Forum and Search --> : Anyone use SWT?


rock
04-24-2003, 09:07 AM
I've been scrounging for good SWT documentation and keep coming up empty. I've been through the Java Developer Forums without any luck as well.

Basically, I'm trying to investigate SWT to see if it's worthwhile for the company to create some classes to help Eclipse/SWT users implement our graphics classes. The best way to do this is to write some wrapper classes and try them out.

I've managed to extend Canvas, but am really not getting very far - I just need some examples/docs. Anyone with any real SWT experience (i.e., other than letting Eclipse write all the code for you!).

rock
04-24-2003, 09:49 AM
Doing a bit more research. Instead of continuing to edit above, here's what I need now:

The graphics objects we use currently require a java.awt.Component, to which many things are added, including MouseListeners and MouseMotionListeners. It also uses java.awt.Graphics objects.

What I'm starting to think is that any move to SWT would require a complete re-write of this main class too. It's not just a matter of giving another entry point (i.e., besides extending JPanel, JFrame and now swt.Canvas), but whole other set of classes. If so, this isn't going to be worth the effort.

If anyone has any similar or other experiences with SWT and using Swing/AWT objects, I'm all ears!

rock
04-24-2003, 10:12 AM
Duplicate post deleted.

znaps
04-25-2003, 01:09 AM
Did you see http://www.eclipse.org/articles/index.html ?

Other than that, try http://www.ibm.com/developerworks/, I've seen a few SWT articles and tutorials at those sites.