🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #7731

Re: Why Swing Applet not run in IE 5.0 or IE 5.5

#7731
From: Yevgeny Konovalov
Date: Fri, 05 Jan 2001 15:10
64 lines
2814 bytes
It's sample HTML page from Sun Tutorial. It works with NN and MSIE with Java
Plug-In.

You must change codebase, archive and class filename, width and height.

=== cut ===

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>Run AppletDemo</title>
</head>
<body BGCOLOR="#ffffff" LINK="#000099">

<SCRIPT LANGUAGE="JavaScript"><!--
    var _info = navigator.userAgent; var _ns = false;
    var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 &&
_info.indexOf("Windows 3.1") < 0);
file://-->
</SCRIPT>

<COMMENT>
<SCRIPT LANGUAGE="JavaScript1.1"><!--
    var _ns = (navigator.appName.indexOf("Netscape") >= 0 &&
((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 &&
java.lang.System.getProperty("os.version").indexOf("3.5") < 0) ||
(_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
file://-->
</SCRIPT>
</COMMENT>

<SCRIPT LANGUAGE="JavaScript">
<!--
    if (_ie == true) document.writeln('<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "570" HEIGHT =
"65"
codebase="http://java.sun.com/products/plugin/1.1.2/jinstall-112-win32.cab#V
ersion=1,1,2,0"><NOEMBED><XMP>');
    else if (_ns == true) document.writeln('<EMBED
type="application/x-java-applet;version=1.1.2" java_CODE =
"AppletDemo.class" java_CODEBASE = "." java_ARCHIVE = "applets.jar" WIDTH =
"570" HEIGHT = "65"
pluginspage="http://java.sun.com/products/plugin/1.1.2/plugin-install.html">
<NOEMBED><XMP>');
file://-->
</SCRIPT>

<APPLET CODE = "AppletDemo.class" CODEBASE = "." ARCHIVE = "applets.jar"
WIDTH = "570" HEIGHT = "65" ></XMP>
<PARAM NAME = CODE VALUE = "AppletDemo.class" >
<PARAM NAME = CODEBASE VALUE = "." >
<PARAM NAME = ARCHIVE VALUE = "applets.jar" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.1.2">

</APPLET>

</NOEMBED></EMBED></OBJECT>

</body>
</html>

=== cut ===

Best regards!
Technical Details
Message-ID: <3a55e3e7_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news-x.support.nl!newsfeed.gamma.ru!Gamma.RU!news-sto.telia.net!News.Amsterdam.UnisourceCS!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!195.7.183.92
References: <3a52e928_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,75ebd7c431987180
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-05 07:20:06 PST
From: "Yevgeny Konovalov" <waine@chat.ru>
Newsgroups: borland.public.jbuilder.java.swing
References: <3a52e928_1@dnews>
Subject: Re: Why Swing Applet not run in IE 5.0 or IE 5.5
Date: Fri, 5 Jan 2001 18:10:08 +0300
Lines: 66
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: 195.7.183.92
Message-ID: <3a55e3e7_2@dnews>
X-Trace: 5 Jan 2001 07:10:31 -0800, 195.7.183.92
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news-x.support.nl!newsfeed.gamma.ru!Gamma.RU!news-sto.telia.net!News.Amsterdam.UnisourceCS!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!195.7.183.92