Welcome to WebmasterWorld Guest from 184.72.177.182

Forum Moderators: phranque

Message Too Old, No Replies

Java and Html

     

CowgirlPersuasion

1:38 am on Apr 17, 2001 (gmt 0)

Inactive Member
Account Expired

 
 


I just downloaded a java applet maker, the only problem I am having is I don't know how to put it on my web page... something about class files or seomthing.. Help me I'm blonde
7:58 am on Apr 17, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 8, 2001
posts:690
votes: 0


No! Dont do it!
7:15 pm on Apr 17, 2001 (gmt 0)

Preferred Member

10+ Year Member

joined:Feb 8, 2001
posts:582
votes: 0


I've always liked blondes....

And welcome to Webmasterworld CowgirlPersuasion.

I believe a lot of webmasters don't like java applets because they are often slow to download, crash web browsers and aren't always worth the bother for what they actually 'do'.

Correct me if I'm wrong I'm no java applet expert.

When you make your applet, you should end up with some code to put in your html page. For example:

<APPLET CODE="Typewriter4.class" HEIGHT="30" WIDTH="170">
<PARAM NAME=COPYRIGHT VALUE="Typewriter applet, Copyright 1996 Sun Microsystems, Inc., all rights reserved.">
<PARAM NAME=TEXTFILE VALUE="type.txt">
<PARAM NAME=FONTNAME VALUE="Verdana">
<PARAM NAME=FONTSIZE VALUE="11">
<PARAM NAME=FONTSTYLE VALUE="bold">
<PARAM NAME=URL VALUE="services.html">
<PARAM NAME=SPEED VALUE="100">
<PARAM NAME=BGCOLOR VALUE="0,51,153">
<PARAM NAME=TEXTCOLOR VALUE="255,255,255">
</APPLET>

In the code above it refers to "Typewriter4.class" this a SEPARATE file that your program should have created, (obviously your program will refer to a different .class file) and this MUST be included with all your other files, in the same directory (I think) as your html files. That's the way I've always done it when I (blush) have used Java Applets.

Hope this helps.

CowgirlPersuasion

11:03 pm on Apr 17, 2001 (gmt 0)

Inactive Member
Account Expired

 
 


Thanks for the advice, I think I will take it... Nice site, and thank you for the welcome.