That means there is no method matching the signature you gave. It could be a parameter missing, a mispelling, or a number of problems.
udit,
you forget the t in paint:
public void pain(Graphics g)
change to;
public void paint(Graphics g)
Reputation Points: 113
Solved Threads: 19
Postaholic
Offline 2,108 posts
since Jun 2004