error :- javac: file not found: micky.java Usage: javac <options> <source files>
I have written this program...
/*
appletviewer
<applet code="micky" width=1024 height=1000 >
</applet>
*/
import java.awt.*;
import java.applet.Applet;
public class micky extends Applet
{
Font f;
public void init()
{
f = new Font( "COMIC SANS MS", Font.ITALIC, 20);
System.out.println(" MICKY MOUSE ");
}
public void start()
{
}
public void stop()
{
}
public void paint(Graphics g)
{
g.setColor(Color.black);
g.fillOval(60,50,50,50);
g.fillOval(170,50,50,50);
g.fillOval(90,70,100,90);
g.setColor(new Color(255,218,185));
g.fillOval(110,80,60,80);
g.fillArc(90,70,100,90,180,180);
g.fillOval(90,110,30,8);
g.fillOval(160,110,30,8);
g.setColor(Color.black);
int x[]={130,150,140,130};
int y[]={80,80,90,80};
int n=4;
g.fillPolygon(x,y,n);
g.setColor(Color.white);
g.fillArc(120,95,18,40,0,180);
g.fillArc(140,95,18,40,0,180);
g.setColor(Color.black);
g.fillRoundRect(130,115,20,10,50,50)…
g.fillOval(125,100,10,15);
g.fillOval(145,100,10,15);
g.drawArc(115,120,50,20,190,170);
g.drawArc(113,127,15,20,95,85);
g.drawArc(153,127,15,20,85,-85);
g.fillArc(130,130,30,20,180,200);
g.setColor(Color.red);
g.fillArc(138,145,15,10,10,165);
}
public void destroy()
{
}
}
.
but the error like "javac: file not found: micky.java Usage: javac <options> <source files>" comes...
.
all programs are running perfectly, but which uses applet can't be compiled.
.
I have re-installed java , bt it still not working.
.
Please help me.