HOw to run the Applet in dos mode
how to run the applet in Command Prompt(DOS).
I have save this in directory D/vijay/javap/A.java and my JDK is in C drive.
Plz send me reply as soon as possible.
My code is :-
import java.applet.*;
import java.awt.*;
public class A extends Applet
{
private int w, h;
public void init( )
{
w = 45;
h = 50;
}
public void paint(Graphics g)
{
g.drawRect(w, h, 20, 80);
}
}

