java program to draw 10 circles in random positions

java program to draw 10 circles in random positions with random colors (filled) and random radii (8 to 24 pixels). The program must test to make sure each center is further from the edge than the radius of the circle. Circles can overlap.