Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [OT] Java Applet on Win 98 - help needed.



Actually, you have a bug in your attribute value...here is the source from
your SwingAppletTester.html file:

<APPLET archive="SwingAppletTester.jar" code="SwingAppletTester" width=300
height=150>
Your browser does not support Java, so nothing is displayed.
</APPLET>

Unlike launching a java *application*, the "code" attribute's value must
include the ".class" extension. So the above should be

<APPLET archive="SwingAppletTester.jar" code="SwingAppletTester.class"
width=300 height=150>
Your browser does not support Java, so nothing is displayed.
</APPLET>

That it works without it in certain browsers is besides the point; the
".class" is part of the applet tag spec, so you should include it. See if
that fixes anything.

Rob

> -----Original Message-----
> From: Will Scheidegger [mailto:email@hidden]
> Sent: Wednesday, August 27, 2003 7:47 AM
> To: email@hidden
> Subject: [OT] Java Applet on Win 98 - help needed.
>
>
> We're desperately trying to get a Java Applet to run on a client's
> Windows 98 machines. The Applet runes fine on Mac OS 9 - X, Win ME,
> 2000, XP and I'm pretty sure it worked also on a 98 box.
>
> I've downloaded and installed the newest Java VM / Plug-in from
> www.java.com and when getting back on this page, it tells me that Java
> is installed. Unfortunately not even our simple test applet is working
> (http://www.fastforward.ch/SwingAppletTester.html), which is simply the
>
> standard applet you get when you create a new Java Swing Applet with
> Project Builder.
>
> On the other hand, it seems like the IRC applet from a local ISP is
> working fine!?!
> (http://www2.bluewin.ch/cgi-bin/chat/
> chat.pl?channel=chathilfe&junk=false&mobile=false). The only difference
>
> I could spot right away is the archive format. We're using JARs while
> the IRC applet is a ZIP. Could that cause the trouble?
>
> - Does anyone have a win98 machine at hand who could check our test
> applet?
> - Any experience with Java and Win98 that I should know of?
>
> Thanks a bunch for your help and sorry for being so off topic!
>
> -Will
> _______________________________________________
> java-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/java-dev
> Be sure to read the FAQ http://developer.apple.com/java/faq/ before
> posting
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >[OT] Java Applet on Win 98 - help needed. (From: Will Scheidegger <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.