Let's claim that I have jar called j.jar in folder called: my_folder.
Then in this jar I have folder called:javclass and in this folder ther is main class called: main.class.
And I have a question:
How html file which opens it should look like ??
Let's claim that I have jar called j.jar in folder called: my_folder.
Then in this jar I have folder called:javclass and in this folder ther is main class called: main.class.
And I have a question:
How html file which opens it should look like ??
<applet code=Applet1.class width="200" height="200">
if it ain't not support the <code>applet</code> tag.
</applet>
i just got it from a java tutorial site.the credit is not mine.
hope it'll give you an idea.
^^
Width and height could be set whatever you want i to be. Your xxx.html would look something like:
<applet code="javclass/main.class" archive="my_folder/j.jar" width="500" height="500">
</applet>
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.