Yes, I even doing start(); But wont fucking run, It requires init() method and its body, But in my textbook it dosen't, not sure whats going onis paint(graphics instance); being called?
we need more code.
import java.applet.*;
import java.awt.*;
public class demo extends Applet {
public void paint(Graphics g)
{
//g.drawOval(10, 20, 200, 400);
//g.fillOval(10, 20, 200, 400);
g.drawArc(40, 50, 90, 50, 30, 60);
}
}