xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ECS Engineering" <engineer...@energycontrolsystems.com>
Subject Re: proper way to shut down JSVGCanvas
Date Mon, 02 Feb 2004 16:42:40 GMT
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" <ken.larson@mindspring.com>
To: "Batik Users" <batik-users@xml.apache.org>
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: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 

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


Mime
View raw message