Here what my stop() method does:
public void stop()
{
// stop animation timer
// interrupt animation thread
// interrupt status display thread
if (svgCanvas != null)
svgCanvas.stopProcessing();
updateManager = null;
}
then destroy() calls stop().
Stan Dickerson
----- Original Message -----
From: "Ken Larson" <[EMAIL PROTECTED]>
To: "Batik Users" <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 4:49 AM
Subject: proper way to shut down JSVGCanvas
> I am using JSVGCanvas within a swing applet. I am wondering what is the
> proper way to shut down the svg canvas when my applet stops. While I am
> testing, and constantly restarting my applet, I always get a threaddeath
> exception - and I am pretty sure this is one of the batik threads that
> is getting rudely interrupted.
>
> Ken
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]