Hello Ilija, Sorry for this delayed reply - I am not on the list much at the moment.
You don't say which version of GeoTools you are using, although from your code snippet I assume it is one of the 8.0 milestones. > How should I link this > InfoTool with the JMapFrame. JMapFrame.getMapPane().setCursorTool( myTool ) Please have a look at the unit test class org.geotools.swing.tool.InfoToolTest for an example. In the setup method of that class, an InfoTool object is created with the onReporterUpdated method overriden. Then in the queryPointFeature test method, the tool is associated with the map pane using the setCursorTool method. Hope this helps. Michael ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
