Hi Richard,

Sorry for the delay in looking at this. I'm catching up on a backlog
but wanted to let you know that I haven't forgotten this one. I won't
give an off-the-cuff reply right now because it's something I want to
think about properly.

Michael

On 17 April 2010 00:48, Richard Marshall <[email protected]> wrote:
>
> Hi Michael
>
> Perhaps the simplest solution to the problem would be to make the JMapPane
> field 'redrawBaseImage' accessible either by making it 'protected' or
> creating a 'setRedrawBaseImage ' method.  That way we can reduce the impact
> on the JMapPane code.
>
> I have extended the JMapPane class and overridden the 'paintComponent'
> method (using reflection to set the 'redrawBaseImage' field accessible).  If
> the map pane is not the topmost pane I set the 'redrawBaseImage' field to
> false.  I then call the 'super.paintComponent' method.  This seems to work
> OK but it would be better if I could access the 'redrawBaseImage' field
> without using reflection.
>
> Let me know what you think.
>
> Thanks,
> Richard
> --

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

Reply via email to