Java2Script is about reusing java code in our web pages and thus, it come with some libraries available so the java programmer can use familiar java tools. Some libraries available are: junit, swt, ajax/RPC, etc. The support for each of them and other tools will be described in this chapter.
1. Eclipse SWT 3.1 API is ported for JavaScript in modern browsers, Firefox, Internet Explorer, Opera, Safari 2. Desktop and window manager are built inside 3. Support UI blocking fow SWT's Shell and Dialog 4. Support SWT deffered layout 5. Support detecting font size change in Firefox |
You may take a look at SWT example for a Java2Script application that intensively uses SWT. In this section however, we will make a SWT based application from scratch for showing how easily it is.
TODO: what is not supported is this version of SWT is the GC, etc.