hillion 02/02/18 04:39:48 Modified: samples starfield.svg sources/org/apache/batik/bridge UpdateManager.java Log: Fixed a bug in UpdateManager. Revision Changes Path 1.2 +3 -3 xml-batik/samples/starfield.svg Index: starfield.svg =================================================================== RCS file: /home/cvs/xml-batik/samples/starfield.svg,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- starfield.svg 18 Feb 2002 09:11:58 -0000 1.1 +++ starfield.svg 18 Feb 2002 12:39:48 -0000 1.2 @@ -14,7 +14,7 @@ <!-- A star field --> <!-- --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: starfield.svg,v 1.1 2002/02/18 09:11:58 hillion Exp $ --> +<!-- @version $Id: starfield.svg,v 1.2 2002/02/18 12:39:48 hillion Exp $ --> <!-- ========================================================================= --> <svg xmlns="http://www.w3.org/2000/svg" @@ -113,8 +113,8 @@ var stars = new Array() var controlPanelMoving = false; var showControlPanel = false - var helpText1 = "Click the title to show the control panel" - var helpText2 = "Click the title to hide the control panel" + var helpText1 = "Click on the title to show the control panel" + var helpText2 = "Click on the title to hide the control panel" // 1.9 +4 -2 xml-batik/sources/org/apache/batik/bridge/UpdateManager.java Index: UpdateManager.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/UpdateManager.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- UpdateManager.java 18 Feb 2002 09:11:58 -0000 1.8 +++ UpdateManager.java 18 Feb 2002 12:39:48 -0000 1.9 @@ -44,7 +44,7 @@ * This class provides features to manage the update of an SVG document. * * @author <a href="mailto:[EMAIL PROTECTED]">Stephane Hillion</a> - * @version $Id: UpdateManager.java,v 1.8 2002/02/18 09:11:58 hillion Exp $ + * @version $Id: UpdateManager.java,v 1.9 2002/02/18 12:39:48 hillion Exp $ */ public class UpdateManager implements RunnableQueue.RunHandler { @@ -296,7 +296,9 @@ dispatchEvent(evt); running = false; - repaintRateManager.interrupt(); + if (repaintManager != null) { + repaintRateManager.interrupt(); + } updateRunnableQueue.getThread().interrupt(); fireManagerStoppedEvent(); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]