Dear all,
I am using JMapFrame, and I want to get access to the Feature Info dialog and 
the text which is presented there. I saw this piece of code:InfoTool tool = new 
InfoTool() {
         @Override
         public void onReporterUpdated() {
             String text = getTextReporterConnection().getText();
             System.out.println(text);
         }
};However I don't have an idea how to use this snippet. How should I link this 
InfoTool with the  JMapFrame. Of course if I simply put this snippet in my code 
by clicking on the button which has description as follows " Click to identify 
features in the selected layer " nothing happens as my event is not linked to 
it.Please help asap.
Best,Ilija                                        
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to