Fill a specific color to a polygon

Hi, I am going to fill a specific color to a polygon.The color is obtained by calculating rgb's combination.How to do it?Thanks
[163 byte] By [ardmorea] at [2007-11-27 8:37:22]
# 1
http://java.sun.com/docs/books/tutorial/2d/geometry/arbitrary.html http://java.sun.com/docs/books/tutorial/2d/geometry/strokeandfill.htmlthese two pages should by enough
m00dya at 2007-7-12 20:34:41 > top of Java-index,Java Essentials,New To Java...