Community
Participate
Working Groups
Due Aug 1 SWT/EWT applet interop demo NOTES: McQ (27/11/2000 1:58:12 PM) - We are implementing support for SWT within AWT layouts and AWT within SWT layouts in our current stream. This can be used to implement applet interoperability. We are also working on support for running SWT layouts within several of the more popular web browsers.
Work on this has been blocked by bug 4417.
Any possibility to just resolve this for the Windows platform? Seems to make sense for RCP which is less than 10mb in size. This will allow deployment of the RCP applications as applets and allow the many Java developers who are using applets in portals to leverage on Eclipse as the application framework. Should be a good business case.
Chrix to (quickly) investigate using a signed applet.
SWT can be invoked into a signed applet pending the swt native library is manually copied over to the jre/bin folder used by the Java plugin runtime - the same way the AWT library relies on the awt.dll to be in the jre bin folder. Instruction for Windows 1. build the jar containing the java applet containing all your applet classes AND all the SWT files present in the Windows SWT jar. Sign the resulting jar. Windows SWT jar and corresponding native library are available from the Eclipse download page (SWT section). 2. copy the swt native libraries over the jre/bin folder used by the java plugin. To determine the location of the jre/bin folder on Windows XP do: Control Panel > Java > Java tab > Java Runtime Settings > View > Location 3. applet can be started through HTML file assuming step 2 has been completed on host client. Process would be simplified if SWT shipped with the Java JRE. Another approach is to develop an SWT plugin for IE to run sweetlets (bug 37707).