still trying to prevent null painting
authoramwaterhouse <Andrew Waterhouse>
Mon, 7 May 2007 13:58:31 +0000 (13:58 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 7 May 2007 13:58:31 +0000 (13:58 +0000)
src/jalview/gui/SplashScreen.java

index 8b92644..c159cd2 100755 (executable)
@@ -105,7 +105,6 @@ public class SplashScreen
       try\r
       {\r
         Thread.sleep(1000);\r
-        repaint();\r
       }\r
       catch (Exception ex)\r
       {\r
@@ -115,6 +114,8 @@ public class SplashScreen
       {\r
         visible = false;\r
       }\r
+      else\r
+        repaint();\r
     }\r
 \r
     closeSplash();\r