Bug 4410 - AWT/SWT - Applet Interop (1PQ8QG1)
Summary: AWT/SWT - Applet Interop (1PQ8QG1)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P5 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Christophe Cornu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 4417
Blocks: 37724
  Show dependency tree
 
Reported: 2001-10-11 14:16 EDT by Kevin Haaland CLA
Modified: 2004-06-21 15:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Haaland CLA 2001-10-11 14:16:19 EDT
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.
Comment 1 Mike Wilson CLA 2002-01-22 12:31:15 EST
Work on this has been blocked by bug 4417.
Comment 2 Ng Chee Wan CLA 2004-05-07 08:08:53 EDT
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.
Comment 3 Steve Northover CLA 2004-06-21 11:45:16 EDT
Chrix to (quickly) investigate using a signed applet.
Comment 4 Christophe Cornu CLA 2004-06-21 15:42:20 EDT
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).