I think the problem with your code is that you are
first setting the colour to black and then setting it again to
white again before drawing the oval.
I Hope this will work.
public class SimplePaint extends Applet
public void paint(Graphics g)