Doesn't draw the white box at the end of a line
[jalview.git] / src / jalview / gui / Desktop.java
index a1e88be..4156fa2 100755 (executable)
@@ -55,26 +55,20 @@ public class Desktop extends jalview.jbgui.GDesktop
 \r
 \r
    /////////Add a splashscreen on startup\r
-  /*  JInternalFrame frame = new JInternalFrame();\r
+    JInternalFrame frame = new JInternalFrame();\r
 \r
     SplashScreen splash = new SplashScreen(frame, image);\r
     frame.setContentPane(splash);\r
-    addInternalFrame(frame, "",820,200);\r
+    addInternalFrame(frame, "",845,200);\r
     splashScreenVisible = true;\r
 \r
-    frame.setLocation( (int)((getWidth()-820) /2), (int)((getHeight()-240) /2));\r
+    frame.setLocation( (int)((getWidth()-845) /2), (int)((getHeight()-240) /2));\r
     frame.setClosable(false);\r
     frame.setIconifiable(false);\r
     frame.setMaximizable(false);\r
-    frame.setFrameIcon(null);*/\r
-  }\r
-\r
-  public static void splashScreenClosing()\r
-  {\r
+    frame.setFrameIcon(null);\r
     splashScreenVisible = false;\r
-    JInternalFrame [] frames  = desktop.getAllFrames();\r
-    for(int i=0; i<frames.length; i++)\r
-      frames[i].setVisible(true);\r
+\r
   }\r
 \r
   public static void addInternalFrame(final JInternalFrame frame, String title, int w, int h)\r