changing the color of points

I am developing a desktop application which involves of clustering of points.
The problem is i am not able to change the color of the points for different clusters . Is there any method to do this. Needed urgently