Hi Will, Have you set up the location of Scenebuilder in Netbeans? Here is how to do it if you haven't:
From Nebeans Menu: - Tools/Options - Select the Java tab in the options window - Select the JavaFX tab in the Java options - Enter the location of Scenebuilder and click Apply Lisa Ruby On 3/22/2021 10:44 AM, Will Hartung wrote: > What does it take to convince NB that a project is a JavaFX project? > > If you create one from the Wizard, then the IDE knows about FXML > files. It has options to create them, if you double click on one it > launches SceneBuilder, etc. > > If you create a plain Java Maven project, it doesn't know about any of > those things. For example, you can not create an FXML file with the > New menu. > > Adding java fx dependencies doesn't do anything to the IDE. > > Now, I've "uplifted" a normal project a little bit. > > Part of a FXML project is a custom nbactions.xml file. This, most > notably, leverages the maven javafx:run goal instead of generic main > class method. > > I think when I added this nbactions.xml file, the IDE now became more > aware of JavaFX. Now, many of the JavaFX specific things show up in > the New menu and wizards. > > But I still can not double click on an FXML file and launch > SceneBuilder. So, I'm missing some other link. > > Any idea how I can make that final connection? And where is it > manifest? I don't see any hidden files, or any files I can not explain > differing from one project to another. Is there another place project > specific information is stored besides within the project directory > itself? > > Thanks. > > Regards, > > WIll Hartung > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists