Found the bug.It's in manifest file.
Specified Class-Path: C:/Sample.jar as . It's working fine now.
Thanks !
Type: Posts; User: rameshiit19
Found the bug.It's in manifest file.
Specified Class-Path: C:/Sample.jar as . It's working fine now.
Thanks !
I have modified my HTML code as follows,
<html>
<head>
<title>Sample Applet</title>
</head>
<body>
<applet name="sampleapplet" code="SampleApplet" archive="SampleApplet.jar" height="80"...
Hi,
I have created an Applet as follows and made it into a jar file (SampleApplet.jar).
import java.applet.Applet;
import java.awt.Graphics;
public class SampleApplet extends Applet
{
public...