Hello Rafael,

> I've tried the steps in
> http://docs.geotools.org/latest/userguide/tutorial/quickstart/netbeans.html
> (without using maven, I've just added all .jars from the binary
> distribution to my project).
> The source code in that example does not compile -- the error is
>   method showMap in class org.geotools.swing.JMapFrame cannot be
> applied to given types;
>   required: org.geotools.map.MapContext

This sounds like a confusion of versions. Perhaps you are working with
the latest quickstart code, which is intended to be used with GeoTools
version 8, but compiling it against GeoTools 2.7 ?  It works as
advertised with GeoTools v8.

Michael

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to