Failed to open fxml in Intellij Idea's Scene Builder

10124
2
Jump to solution
06-08-2021 01:48 AM
VanyaIvanov
Occasional Contributor

I have a problem with opening fxml file inside Intellij Idea Scene Builder

VanyaIvanov_0-1623141841229.png

When i click on the Scene Builder button i get "failed to open the file in the Scene Builder" 

 
0 Kudos
1 Solution

Accepted Solutions
MarkBaird
Esri Regular Contributor

The limited experience in our team of SceneBuilder working in IntelliJ is that we just end up with a blank screen and didn't function.  Running it as a separate app outside of IntelliJ is the only way I've seen it working.

A quick look on StackOverflow came up with https://stackoverflow.com/questions/63425513/scenebuilder-not-loading-in-intellij

 

View solution in original post

2 Replies
MarkBaird
Esri Regular Contributor

The limited experience in our team of SceneBuilder working in IntelliJ is that we just end up with a blank screen and didn't function.  Running it as a separate app outside of IntelliJ is the only way I've seen it working.

A quick look on StackOverflow came up with https://stackoverflow.com/questions/63425513/scenebuilder-not-loading-in-intellij

 

DaveWhitla
New Contributor III

While this is not an IntelliJ support forum I may be able to help you if you share the FXML content.

FWIW I have had many issues with the embedded FXML editor in all versions of IDEA up to and including the latest RC. The IDE does provide an alternative of context-clicking (ie right click) an FXML file and selecting Open in Scenebuilder.

The potential complication with this workaround is that your dev class-path will not be available to SceneBuilder for resolving custom component classes imported in your FXML. IF you have that specific issue when trying the above you will find help on SO or you can ask again here.