X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FSplashScreen.java;h=ff409e0c3a1db87e564e7bf43b09b3fd11f3ff38;hb=155a17a423e980849fd4dc5f857da1a72b0010b9;hp=97de08a304f062b9353fd4bbbc6e78525c6e1793;hpb=5cc5673efcc20706151f03e105a51c3130345a18;p=jalview.git diff --git a/src/jalview/gui/SplashScreen.java b/src/jalview/gui/SplashScreen.java index 97de08a..ff409e0 100755 --- a/src/jalview/gui/SplashScreen.java +++ b/src/jalview/gui/SplashScreen.java @@ -113,6 +113,7 @@ public class SplashScreen extends JPanel */ public SplashScreen(boolean isTransient) { + Desktop.instance.acquireDialogQueue(); this.transientDialog = isTransient; if (Platform.isJS()) // BH 2019 @@ -171,7 +172,7 @@ public class SplashScreen extends JPanel } if (mt.isErrorAny()) { - System.err.println("Error when loading images!"); + jalview.bin.Console.errPrintln("Error when loading images!"); } } while (!mt.checkAll()); Desktop.instance.setIconImages(ChannelProperties.getIconList()); @@ -227,7 +228,7 @@ public class SplashScreen extends JPanel protected boolean refreshText() { String newtext = Desktop.instance.getAboutMessage(); - // System.err.println("Text found: \n"+newtext+"\nEnd of newtext."); + // jalview.bin.Console.errPrintln("Text found: \n"+newtext+"\nEnd of newtext."); if (oldTextLength != newtext.length()) { iframe.setVisible(false); @@ -267,7 +268,7 @@ public class SplashScreen extends JPanel splashText.setVisible(true); splashText.setSize(new Dimension(750, - 375 + logoSize + (Platform.isJS() ? 40 : 0))); + 425 + logoSize + (Platform.isJS() ? 40 : 0))); splashText.setBackground(bg); splashText.setForeground(fg); splashText.setFont(font); @@ -323,7 +324,7 @@ public class SplashScreen extends JPanel } closeSplash(); - Desktop.instance.startDialogQueue(); + Desktop.instance.releaseDialogQueue(); } /**