Hi Charles,

Yep, the current code got ugly, then more ugly with each of my
"fixes".  It seemed best to start from a blank(ish) slate and just
rewrite it.

I'm hoping the new code will be worth showing to people sometime next
week for testing / brutal comments etc. If you'd like to volunteer
I'll be mighty grateful.

cheers
Michael

On 28 May 2010 23:01, Charles Ballance wrote:
> Michael,
>   Not sure what you're doing to improve performance of JMapPane, but I had
> noticed horrible performance
> iin paintComponent that is attributed to the  setting of redrawBaseImage =
> true being set  at the end of the  method.
> Simply setting it false caused other issue, which i reworked, though i don't
> know that they're general enough.  I  would need
> to resync with the latest version and walk through it again, as I was
> working off a 2.6 codebase and you've made a lot of small
> changes since.
> The root cause is that you cannot control when repaint() is called  I think
> that moving the cursor over the map was causing it to
> redraw the base image or scrolling inside a jscrollpane....i don't recall,
> but it was easy to see, just println something when paintComponent is
> called.
>
>
>> Hi folks,
>>
>> I've started a page about the work on the "swing-refactor" branch and
>> what's been done so far (to prove that something has actually been
>> done :)
>> http://docs.codehaus.org/display/GEOTOOLS/Swing+module+branch
>>
>> The relevant Jira issue is: http://jira.codehaus.org/browse/GEOT-2836
>> with related issues linked to it.
>>
>> Michael
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Geotools-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>
>

------------------------------------------------------------------------------

_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to