Author: mes
Date: 2011-03-08 11:26:02 -0800 (Tue, 08 Mar 2011)
New Revision: 24333
Modified:
core3/splash-updater-impl/trunk/src/main/java/org/cytoscape/splash/internal/SplashManipulator.java
Log:
a minor tweak to prevent npes
Modified:
core3/splash-updater-impl/trunk/src/main/java/org/cytoscape/splash/internal/SplashManipulator.java
===================================================================
---
core3/splash-updater-impl/trunk/src/main/java/org/cytoscape/splash/internal/SplashManipulator.java
2011-03-08 18:56:58 UTC (rev 24332)
+++
core3/splash-updater-impl/trunk/src/main/java/org/cytoscape/splash/internal/SplashManipulator.java
2011-03-08 19:26:02 UTC (rev 24333)
@@ -52,6 +52,7 @@
g.setPaintMode();
g.setColor(Color.BLACK);
g.drawString(message, 20, 320);
- splash.update();
+ if ( splash.isVisible() )
+ splash.update();
}
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.