Error opening scene builder

前端 未结 10 1694
抹茶落季
抹茶落季 2021-02-01 17:11

I\'m making a program with Javafx Eclipse and I get an error when I open the program with the Scene Builder

This is the error:



        
相关标签:
10条回答
  • 2021-02-01 18:03

    Try downloading javafx scene builder from the link:

    http://www.oracle.com/technetwork/java/javafxscenebuilder-1x-archive-2199384.html

    Then integrate it with your ide by Window>preferences and add a file adssociation as an external program to it.

    0 讨论(0)
  • 2021-02-01 18:04

    None of the previous answers solve the described problem for me.
    This answer did.

    0 讨论(0)
  • 2021-02-01 18:08

    set the path to SceneBuilder app; to do this on mac os

    1. go to eclipse in your menu bar and click on preferences or press the keyboard shortcut "cmd" + ",".
    2. then click on JavaFX
    3. click on browse to select the path to sceneBuilder executable (which should be in your application folder if you are running mac os.
    0 讨论(0)
  • 2021-02-01 18:09

    Those of you who are using MacOS ( in my case ), Go to JavaFx from preferences then browse to application folder and select scene builder.

    Doing other ways wont open the exact file you are trying to edit (It may make a new file which will be untitled and you have to save it manually on the project directory). Also right clicking the fxml file, you wont be able to use the option (open with scenebuilder).

    0 讨论(0)
提交回复
热议问题