Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie Applet question

Status
Not open for further replies.

tmryan

Programmer
Dec 22, 2000
73
US
I've developed a simple little applet that displays date information. It runs fine in appletviewer. I then created a simple html page with an <applet> tag and a call to my class. When I launch the html - I get a gray box where my applet should load. (I'm just trying to run the applet locally)

Then I convert the html with an html converter because I heard that it has to be so when using IE 5.5. It changes the html to this:

<html>
<head>
<title>Today Is</title>
<meta name=&quot;description&quot; content=&quot;&quot;>
<meta name=&quot;keywords&quot; content=&quot;&quot;>
</head>
<body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot; link=&quot;#0000FF&quot; vlink=&quot;#FF00FF&quot;>
<!--&quot;CONVERTED_APPLET&quot;-->
<!-- CONVERTER VERSION 1.3 -->
<OBJECT classid=&quot;clsid:8AD9C840-044E-11D1-B3E9-00805F499D93&quot;
codebase=&quot;
<PARAM NAME=&quot;type&quot; VALUE=&quot;application/x-java-applet;version=1.3&quot;>
<PARAM NAME=&quot;scriptable&quot; VALUE=&quot;false&quot;>
<COMMENT>
<EMBED type=&quot;application/x-java-applet;version=1.3&quot; scriptable=false pluginspage=&quot;code=&quot;c:\justjava\applets\todayis.class&quot; width=&quot;600&quot; height=&quot;600&quot;
</NOEMBED></EMBED>
</OBJECT>

<!--
<APPLET>
code=&quot;todayis.class&quot; width=&quot;600&quot; height=&quot;600&quot;

</APPLET>
-->
<!--&quot;END_CONVERTED_APPLET&quot;-->

</body>
</html>

When I launch the new html - it tries to load the applet for about 2 minutes until it finally gives up.

Can anyone help a newbie out here?

Thanks Tim Ryan
PROGRESS Developer
 
Never mind - figured it out.
Needed the plug-in and the right html.

Onward! Tim Ryan
PROGRESS Developer
 
If you are trying to use IE then I sugest not bothering with trying to make your Applet work in IE untill you know the Java codes that will let it run in older version of IE :cool:. &quot;and everything under the sun is in tune
but the sun is eclipsed by the moon.&quot; --Pink Floyd: Eclipse


&quot;I'm going to spend eternity
reinstalling Windows.&quot; --Reinstalling Windows: by some British guy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top