Many tnanks, its worked. Only one thing - we need to check
JMapPane.getDisplayArea() for NULL:
public void onDisplayAreaChanged(MapPaneEvent ev) {
ReferencedEnvelope view = GISApp.this.getMapPane().getDisplayArea();
if( view == null ) return;
...
--
View this message in context:
http://n2.nabble.com/MapPane-turning-off-auto-reset-on-resize-tp4837223p4867075.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users