The tutorials are written for GeoTools 8.  
- http://docs.geotools.org/latest/userguide/tutorial/map/style.html

What is the link to "opensourcejavaphp.net you found? The web is a strange 
place …

You can find the older (i.e. stable) copy of the tutorials here:
- http://docs.geotools.org/stable/tutorials/

Please keep in mind that "selection" is a concept for your application. 
GeoTools is just providing the ability to work with features; and draw 
features. That selection tutorial focuses on "draw" some features that have 
been considered selected in that example. You may wish to handle the idea of 
selection in the same manner for your application?

Jody

> Moving to the small problem I encountered:
> -----> I followed the tutorial for display and loading the shapefile. PERFECT 
> = D
> ------> I took a second tutorial (
> http://www.opensourcejavaphp.net/java/geotools/org/geotools/demo/SelectionLab.java.html)
>  to select one feature at a click on the JMapPane. NOT PERFECT = / Let me 
> explain I have a compilation error in this online tutorial:
> mapFrame = new JMapFrame (map);

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to