> I profiled JMapPane-based application using Process Monitor from > SysInternals, and it turns out that it re-reads shapefile everytime when > redraw is required.
Mmm... I don't think so. For redraws where the display area remains unchanged the pane just blits a cached image. If you change either the map area (zooming, panning etc) or the pane area (resizing) then a new call is made to the renderer. But note that JMapPane is just a semi-dumb panel that knows how to ask a renderer to paint on it. The default renderer is StreamingRenderer but you can pass it any renderer you like that implements the GTRenderer interface. Michael ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
