xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davis-5 <t...@robertjdavis.co.uk>
Subject Re: SVG in JtabbedPane
Date Fri, 23 May 2008 13:04:21 GMT

Perhaps the delay is because it is being rendered every time you switch.

To confirm this I would step through the code in a debugger like that in
Eclipse. Then you will really know.

Maybe there is a way to stop this happening and perhaps there is a way to
cache the resultant bitmap or the state of the Graphics 2D canvas and
display that if there hasn't been any change. That could be faster.

You might want to look at thread:

This is not the same problem as yours although they are using a similar part
of batik to do a similar job so it might give you some inspiration.

View this message in context: http://www.nabble.com/SVG-in-JtabbedPane-tp17346317p17425141.html
Sent from the Batik - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message