JavaFX scene builder: Preview design ?

Answered

Hi,

Does anyone know how to preview a design in the javaFX scene builder without running the application ?

Thanks.

TM

0
5 comments

There is Scene Builder tab when you one fxml file in Editor:

Just make sure you have specified the Preferences | Languages & Frameworks | JavaFX | Path to SceneBuilder:

See also https://www.jetbrains.com/help/idea/javafx.html.

0

Andrej didn't answer the question as I understand it. In stand-alone SceneBuilder we can "Preview" the GUI. Can we do the same when SB is embedded in iJ? Where is SB's menu, in fact?

0

>In stand-alone SceneBuilder we can "Preview" the GUI. Can we do the same when SB is embedded in iJ?

Yes. Use Scene Builder tab:

Please see also Create a new JavaFX project.

0

Still not an answer. In stand-alone SceneBuilder we can "Preview" the GUI by pressing Ctrl-P, which opens an extra window which we can resize, thus testing the behaviour of Panes. Can we do the same when SB is embedded in iJ? If so, HOW?

0

I see what you mean now actually, sorry not precise answer initially - there is no way for the live preview of the UI for the embedded Scene Builder. There is a related request: https://youtrack.jetbrains.com/issue/IDEA-154983

0

Please sign in to leave a comment.