Is there a chance to get -splash:<image> work for SWT applications that require -XstartOnFirstThread?
问题 I am launching my Scala SWT application using: java -splash:splash.jpg -jar application.jar Using JDK 1.6.0 on Mac OS X 10.9.1 the splash screen was opened immediately (seconds before the actual application window opened). I used the following code to close the splash screen when the SWT application window opened: // When the window opens for the first time close the splash screen if exists val splash = SplashScreen.getSplashScreen if (splash != null) { shell.addShellListener(new ShellAdapter