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
Please sign in to leave a comment.
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.
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?
>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.
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?
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