X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FDesktop.java;h=ae3b6527646649e9300f3a40b03a26504ca12731;hb=72f96c9a8773366b67f3766acf1ede5c86c43d01;hp=9e0c89b51bdadddf33dd6462555414f9a422e9ac;hpb=0f37bef750da116377ac662316d2e41abbd1a697;p=jalview.git diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 9e0c89b..ae3b652 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -473,17 +473,6 @@ public class Desktop extends GDesktop checkURLLinks(); - // Spawn a thread that shows the splashscreen - - SwingUtilities.invokeLater(new Runnable() - { - @Override - public void run() - { - new SplashScreen(); - } - }); - // Thread off a new instance of the file chooser - this reduces the time // it // takes to open it later on. @@ -516,6 +505,17 @@ public class Desktop extends GDesktop } + // Spawn a thread that shows the splashscreen + + SwingUtilities.invokeLater(new Runnable() + { + @Override + public void run() + { + new SplashScreen(); + } + }); + this.setDropTarget(new java.awt.dnd.DropTarget(desktopPane, this)); this.addWindowListener(new WindowAdapter()