Look closely at this code:
1
| for (wh = 0;wh>=r.nextInt(300);wh++) { |
It calculates a random number in every cycle of the for loop. This can be very irreliable.
further:
1 2 3
| int wh = r.nextInt(300); ... int wh = r.nextInt(300); |
These two lines are a waste of size and CPU. I know that it's only a few bites and under a microsecound, but in a large applet, this kind of optimisation can tell the diference between fitting on a CD, and not fitting on a CD.
back to your question: You draw an oval with increasing the size, but always at a random location withouth deleting the previous one. I think your problem is that the screen is filled with hundreds of ovals so that you can't see a single oval. Instaed the screen will be just a solid color.
The first lines weren't an answer to your question, but I just wanted to help you to optimise your code.