tkormann 02/02/14 09:21:03 Modified: sources/org/apache/batik/apps/svgbrowser Main.java Log: stop all Threads when a window is closed Revision Changes Path 1.26 +2 -1 xml-batik/sources/org/apache/batik/apps/svgbrowser/Main.java Index: Main.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/apps/svgbrowser/Main.java,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- Main.java 6 Feb 2002 14:04:55 -0000 1.25 +++ Main.java 14 Feb 2002 17:21:03 -0000 1.26 @@ -55,7 +55,7 @@ * This class contains the main method of an SVG viewer. * * @author <a href="mailto:[EMAIL PROTECTED]">Stephane Hillion</a> - * @version $Id: Main.java,v 1.25 2002/02/06 14:04:55 vhardy Exp $ + * @version $Id: Main.java,v 1.26 2002/02/14 17:21:03 tkormann Exp $ */ public class Main implements Application { @@ -389,6 +389,7 @@ * Closes the given viewer frame. */ public void closeJSVGViewerFrame(JSVGViewerFrame f) { + f.getJSVGCanvas().stopProcessing(); viewerFrames.remove(f); if (viewerFrames.size() == 0) { System.exit(0);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]