This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
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.