Hello Gustavo,

If you sub-class JMapPane, and override its onRenderingCompleted
method, that should do the trick. Alternatively, you can listen for a
MapPaneEvent of type RENDERING_STOPPED using either MapPaneListener or
MapPaneAdapter.

Hope that helps,
Michael

On 21 June 2011 03:15, Gustavo Mesquita <[email protected]> wrote:
> Hi Sergey,
>
> thanks a lot for your answer!!! That solved my problem, but now I really
> wanna know when the rendering process is finished, because I need to
> generate the images in background. Could you tell me more about it?
>
> Gustavo Mesquita.
>
> -----
> Gustavo Mesquita da Silva.
> Brazilian Navy Hydrographic Center
> NiterĂ³i, Rio de Janeiro - Brazil
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Need-to-save-the-JMapPane-content-to-Image-file-tp6495634p6496621.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to