File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes SWT Resources? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT Resources?" Watch "SWT Resources?" New topic

SWT Resources?

Kelly Dolan
Ranch Hand

Joined: Jan 08, 2002
Posts: 109
I am new to SWT and have some experience with Swing/AWT. I was wondering if anyone can recommend a few books or resources for the following...

1. SWT in general; how-to; examples

2. SWT and Swing/AWT together; how-to get the two to work together; why they don't play well together and what to do about it

For instance, I learned that where revalidate() works in a Swing/AWT application, it doesn't necessarily in an SWT/Swing/AWT application. I had to switch to using validate() in some cases. Also, I am having resize problems in an SWT/Swing/AWT application where I did not have these problems in a Swing/AWT application. I'm wondering what other behavior in my application will have changed simply because I embedded the Swing/AWT UI in the SWT container.

3. Porting from Swing/AWT to SWT; how-to translate

For instance, I must port a Swing/AWT application to use SWT. To port it as quickly as possible, I started by using SWT simply as a container that parents an AWT Frame that parents the bulk of my original Swing/AWT UI. However, the goal is to use SWT and only use Swing/AWT when SWT does not support a look-and-feel that we must maintain.

Thanks for any and all suggestions!
I agree. Here's the link:
subject: SWT Resources?
It's not a secret anymore!