Jump to content
xisto Community
Sign in to follow this  
nerdy monkey

Help With Java need to put applets or a webpage

Recommended Posts

hi, i'm a rather new java programmer and i was wondering if anyone knew how to put java applets onto a web page. please help me out. thank =)

 

Notice from cmatcmextra:
1. Make your topic descriptions descriptive. They are important at Xisto.

2. Moving to Java, javascripts, jsp

Edited by cmatcmextra (see edit history)

Share this post


Link to post
Share on other sites

Well from what I remember, this is how embed applets into a webpage:

 

<applet codebase="codebaseurl.class" alt="alernative text" name="optional_applet_name" vspace="0" hspace="0" height="21px" width="23px"> </applet>

Then there's the param tags which I don't know about. Needs someone else to explain that. I'm sure if you google applet tag, you'll find a helpful document explaining it all for you.

Share this post


Link to post
Share on other sites

So, you already have applet made and you want to put that applet in HTML or you have to create Applet from scrach...?Anyway, as you said you dont know hoe to put applet in HTMl..here, is the TAG you have to use in your HTML..<APPLET CODE="Some.class" WIDTH=460 HEIGHT=160><PARAM NAME="image" VALUE="images/my.jpg"><PARAM NAME="backgroundcolor" VALUE="blue">. . .</APPLET>Here, <PARAM tag is optional , if your applet required it then...else only <APPLET tag is enough in your HTML..Make sure you put full path of class or have it in same directory as html...Hope, it will solve your proble.Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.