Hi Darmawan,

> hmm can you give me an example code for it?

You really have all the example code that you need. I'm afraid that
none of us here can write your app for you - at least not for free :-)

> but the IDs and IDs2 is in selectedIDs so how i set it. that's what i mean

They are in the example code but they don't have to be in _your_ code.
Simply modify the method. Give the method an extra Set argument if you
like.  Or if you want to make it more flexible you might give is a Map
argument where the keys are feature IDs and the values are numbers or
names of feature categories that you want to display in separate
colours. It's really up to you.

The examples are only there to get you started. They don't represent
the only way to do things and they don't illustrate all that is
possible. The idea is for you to study them, along with the wiki and
javadocs, and then experiment with your own hacking.

Hope this helps.

Michael

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to