Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT Browser and Applets

An application using the SWT widget Browser is not able to load and
display HTML pages, which have included a Java applet. This problem
occurs even for the simplest HTML page and the simplest Java applet. So
the problem seems to be independed from the complexity of the HTML page
and the complexity of the Java applet. It seems to depend only on the
Java applet plug-in mechanism.

The error is easy to reproduce with the SWT Snippets "Browser - bring up
a browser (single window)" and a dummy HTML page with a dummy applet.
The Internet Explorer (or any other Web browser) does not have a problem
with this dummy HTML page with the dummy Java applet.

Using the above mentioned snippet and loading the URL
http://www.javatester.org/version.html 
gets the report
Java Version: 1.1.4 from Microsoft Corp.
while using an Internet Explorer gets the report
Java Version 1.4.2_07 from Sun Microsystems Inc

A deinstallation of the Microsoft Java VM does not remove this problem!

For me it seems that the SWT Browser uses the IWebBrowser and this
IWebBrowser seems to use Java applets in a different way than the
Internet Explorer.

Thanks for any help,
Christian



Back to the top