Our guess is that the cause of this error was addressed to 8u40. We find that the application cannot get focus as soon as a new blue Java splash screen appears. We can also reproduce this in all demo web applications on our own Oracle site, so this is not our code.
You can confirm this error by running a webstart instance with -Xnosplash to skip this screen saver. Unfortunately, you cannot add this parameter to the jnlp file.
We can reproduce this problem only on OSX 10.10 (Yosemite).
The workaround (if you can control the settings of the Java client) is to add "-Xdebug" to the Java Control Panel -> Java -> View ... -> Run-time options.
Update: bug fixed and backported to 1.8u40 . Oracle is also quietly updating its downloads for the new build (1.8u40b27), or maybe here. I do not know that people are already working 1.8u40 will automatically receive an update.
source share