user3704052
user3704052

Reputation: 1

How to convert java multiclass applet to html file

Hey I've got three java classes (saved as .java) forming an applet, and have no clue how to convert it to html. I've seen people say to convert it to a .jar, but i don't know how to do that. can anyone give a step by step? (preferably using netbeans)

Upvotes: 0

Views: 108

Answers (1)

Jeeshu Mittal
Jeeshu Mittal

Reputation: 445

Try this: making a jar file

And add this to your html file

<applet code = 'packagename.ClassName' 
    archive = 'JarFileName.jar'
    width = 300
    height = 300>
</applet>

Upvotes: 1

Related Questions