SWIKI runs an applet

John Hinsley jhinsley at telinco.co.uk
Sun Nov 4 19:13:23 UTC 2001


G.J.Tielemans at dinkel.utwente.nl wrote:

> class file uploaded etc. but the java applet will not live

If you download the class file and point your browser at the html
(ignoring the Swiki for the time being), will it run in your browser?

If "yes", what is the relationship (directory structure) between the
html and the class file?

Can you replicate this in terms of the Swiki?

I don't know the answer(!) but

<HTML>
<HEAD>
<TITLE>ColourSwirlHello</TITLE>
</HEAD>
<BODY BGCOLOR="SILVER">
<P><CENTER>This Java Applet says:<BR> 
<APPLET CODE="HelloColourSwirl.class" WIDTH=610 HEIGHT=60>
</APPLET>
</BODY>
</HTML>

Will work if (all other issues being resolved!) the html and class are
in the same directory.

Cheers

John

-- 
If you don't care about your data, like file systems which automagically
destroy themselves and have money to burn on 3rd party tools to keep
your
system staggering on, Microsoft (tm) have the Operating System for you.




More information about the Squeak-dev mailing list