Currently, J2S’ SWT widgets are on the way of being pixel-precise. And some certain pain things come up:
1. Different browsers
IE (IE6/5.5/5.0 and IE7, too many, I mainly work on IE6), Firefox (Different versions will render position in some slight differences), and Opera (Just check out to see if there are ugly looks in Opera 8+, no pixel-precise supports)
2. Native SWT implementation v.s. browser implementation
4. What about supporting different CSS templates
…en, big thing, until almost 90%+ SWT APIs are implemented. …
Actually J2S’ SWT will hide the above pains from SWT developers.
Here following is a testcase snapshot.
Native Win32 SWT window:
Converted J2S SWT window in IE6: