ok.

I fixed the error and the program is running fine. Now I'm trying to figure out how to use the getWidth() and getHeight() methods to centre my ellipse in the applet and have it resize itself when I resize the window. If u can help with this two methods by looking at the code I would really appreciate. I very new at programming, there is still a lot of stuff that I don't know.
Thnx in advance.