Shape 'Fill' color

I have created a shape and now I want to set the area withing the shape to a certain color, I know that you can iterate throught the points within the shape, but how do I change the color of each of these points?
[226 byte] By [cazza] at [2007-9-26 1:40:46]
# 1
Doh!graphics.fill(Shape s)must try looking for the obvious solutions in the future....;-)
cazza at 2007-6-29 2:31:34 > top of Java-index,Archived Forums,Swing...