Public: Technology Reviews : AWT on SWT
This page last changed on May 03, 2007 by scytacki.
AWT doesn't work with SWT on osx. It also requres version 1.5 on linux.
Related page on telscenter telscenter swt_awt
The bug about the osx problem is here:
The current state of this bugs seems to be this:
Embedding one component in the other has not been addressed yet. But it seems like it is possible.
JNLP will not work with swt applications. Even with the fixed versions of jdk on osx jnlp does not work. Apple appears to be working on this. But most likely this will only work on Tiger.
SwingWT is a way to run swing applications inside of swt. However it requires changing the package names that your classes are using for the swing classes. The project has a classloader that does this dynamically. Or it can be done at deployment time. I dont believe it will handle native thirdparty awt components (flash plugin, quicktime plugin, ...). But those could probably be ported to swt.
Also, from a legal point of view commits to swingwt need to be care not to use Suns swing code.
http://www-128.ibm.com/developerworks/java/library/j-2dswt/ - info on using awt images in swt.
I have started on a SWT version of a AWT Toolkit: SWT Toolkit
Interesting eclipse based project.
That project was found on the bug report. It is a eclipse based scientific visulation platform. It might have a lot of overlap with the type of things we are doing.
|Document generated by Confluence on Jan 27, 2014 16:56|