Hi Cintia,
i am absolute not an expert of th geotools! But maybe i can help you but 
to do so it would be nice if you atach your code !
I would suggest ( i assume you don`t store the ocolors of the states as 
attribute in the shapfile!) you create an array or a list and store both 
informations in it the name of the feature and the color you use!
Having that list it should be easy to display it in a panel!

Hope i helped you out!

Martin

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to