Improve JMapPane performance with long rendering tasks
------------------------------------------------------

                 Key: GEOT-3560
                 URL: http://jira.codehaus.org/browse/GEOT-3560
             Project: GeoTools
          Issue Type: Improvement
          Components: swing
            Reporter: Michael Bedward
            Assignee: Michael Bedward
             Fix For: 2.7.1, 8.0-M1


As reported on the user list, JMapPane clears the display prior to rendering. 
For complex layers and/or slow data connections this means that the display 
remains blank for a long time after resizing, panning etc.

The fix for this involves:
- move the drawing code out of the present JMapPane.paintComponent method into 
a separate method, 
  leaving only the image blitting in paintComponent. 

- Replace the timer-based handling of repainting after resizing with use of a 
ScheduledExecutorService. Also use this for repainting after panning.

- Replace confusing usage of boolean fields with method args.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to