Java's splash screen doesn't work in a JavaFX program on Mac OS

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      Mac OS X 10.7.4 x86_64 with java 1.7.0_04
      Either Javafx 2.2.0-beta or 2.1.0

      I have a JavaFX program that uses java.awt.SplashScreen. It works fine on windows and linux. On the Mac, there are two problems:

      1. If I run a jar with a splash screen (either with the SplashScreen-Image attribute in the manifest or the -splash command-line option), the program hangs before even calling my Application#start method.

      2. If I run a jar that does not have a splash screen, but I call java.awt.SplashScreen.getSplashScreen(), it throws java.awt.HeadlessException.

      Either problem is easily demonstrated by creating a new JavaFX project in NetBeans, and adding a call to java.awt.SplashScreen.getSplashScreen() to the start method.

            Assignee:
            Kevin Rushforth
            Reporter:
            Bill van Melle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: