Implementing JavaFX Controls in Swing with Platform.runLater() only

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: fx2.0
    • Component/s: javafx

      At the moment the only way to instantiate a JavaFX-Control in Swing is by using PlatformImpl.startup(); and Launcher.launch(). Launcher.launch() is not suitable for our application and PlattformImpl.startup() is a com.... class and not even in the official repository for JavaFX.
      Platform.runLater() should be the way to put JavaFX-Controls in Swing. This method works perfectly as soon as you called PlatformImpl.startup() once. If you dont call the IMPL-method, Platform.runLater() throws a Toolkit not initialized message.
      We would like to see this Toolkit initialization problem fixed, so we can work with Platform.runLater() onyl and dont need these workarounds.

            Assignee:
            Kevin Rushforth
            Reporter:
            Matthias Weidemann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: