> The component takes over the space of a square. If
> your logic keeps it in a circle and you only paint
> what is in the circle then what difference does it
> make.
> Also you could not worry about the shape and make
> sure you paint over anything that was drawn outside
> the circle at the end.
Both those techniques are valid, but a third technique would be to use the graphic's object's [url=http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics.html#setClip(java.awt.Shape)]clip property[/url].