IvanLatysh wrote:
Just curious - why you recreate the dialog? You can use 1 instance and to show/hide it by setVisible(boolean) method.I am using FOP with my application and for better performance I did a singleton which have an instance of the Driver, Renderer and etc. It seens working fine, each time before I run a new report I am reset the Driver. But I found problems with PreviewDialog it seems that dialog didn't release all resources and next time when I am creating it shows me a picture from the previous report.
But you maight be right, because PreviewDialog is not designed to be reusable and recreatable.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
