On Fri, 09 Mar 2007 21:59:30 +0200, <[EMAIL PROTECTED]> wrote: > Hi, > > I was trying to run the spearfish postgis example from the geotools > tutorials. > I think it is a bit old and there are some errors which I think that > can be solved by replacing a few code lines. The errors are the > following:
... Hi, altough I'm using Geotools only for 2 weeks I have already found out that the documentation from the site is seriously out of date. This because the Geotools Team is heavily refactoring the classes from the Display Model, for example a lot of classes mentioned in the tutorial are now being deprecated. Instead of using StyledMapPane you can try using the JMapPane class. To use this class make sure you set the mapContext, mapArea and render attributes, otherwise nothing will be draw. Good luck ! Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
