Questions tagged [scenebuilder]

SceneBuilder is a UI design tool for JavaFX. It supports WYSIWYG drag-and-drop editing and produces FXML which can be used in JavaFX applications.

JavaFX Scene Builder is a visual layout tool that lets users quickly design JavaFX application user interfaces, without coding. Users can drag and drop UI components to a work area, modify their properties, apply style sheets, and the FXML code for the layout that they are creating is automatically generated in the background. The result is an FXML file that can then be combined with a Java project by binding the UI to the application’s logic.

The Scene Builder project was created using JavaFX by Oracle and it is open source within the OpenJFX project.

Oracle provided binaries, up until Scene Builder v 2.0, including only JavaFX features before the release of Java SE 8u40.

Gluon took over the binary releases distribution, and an up-to-date Scene Builder 8+ can be downloaded for every platform from here: https://gluonhq.com/products/scene-builder/

It includes the latest changes in JavaFX, and also recent improvements and bug fixes.

The open source project can be found here. Issues and feature requests can be filed here and pull requests here.

The Oracle legacy binaries still can be downloaded from here.

1992 questions
5
votes
1 answer

JavaFX - How to use a method in a controller from another controller?

Working with SceneBuilder. I have 2 stages, each one with a controller: stage1Controller,stage2Controller. Stage1Controller : public class Stage1Controller { @FXML private MenuItem translate; @FXML private Menu file; @FXML …
Mohamed Benmahdjoub
  • 1,270
  • 4
  • 19
  • 38
5
votes
1 answer

create vertical tabs in tabpane javafx

By default if I create a TabPane in Scene Builder and add tabs they are in horizontal order on the top of TabPane, how can I add vertical tabs on the left side of TabPane? Thanks
Yashar
  • 2,455
  • 3
  • 25
  • 31
5
votes
1 answer

SceneBuilder 2: Do controller classes need to necessarily be in the same folder as the view FXML files?

I'm loving JavaFX and SceneBuilder, but I just can't figure out how to make SceneBuilder link my FXML views with their Java controllers when they are not in the same folder. I'd just like to have this folder structure: package |-- model …
zapatilla
  • 1,711
  • 3
  • 22
  • 38
5
votes
1 answer

Is it possible to import a JAR containing a custom JavaFX control into Scene Builder?

I was working on a stage when I noticed I practically had the exact same thing three times. Rather than that (since I hate that), I decided to take what I had those 3 times and turn it into a custom component. Now I know I can add it in code but I…
Will
  • 3,413
  • 7
  • 50
  • 107
5
votes
2 answers

Javafx 8, scenebuilder 2, and controlsfx with fontawesome?

I'm relatively new to javafx, and have recently started a project using java 8 and javafx. I am using Scenebuilder 2.0 to build my javafx ui. I was wondering if anyone have managed to use fontawesome in scenebuilder? Currently I need to do this to…
Runar Halse
  • 3,528
  • 10
  • 39
  • 59
5
votes
3 answers

JavaFX labels height

I'm developing software in JavaFX and JavaFX Scene Builder. I have a grid pane with 2 columns. Actually in each of the cells there are labels. In the first column of the table the text inside the label is a default constant, in the second one the…
Danilo
  • 2,016
  • 4
  • 24
  • 49
5
votes
2 answers

Tell JavaFX Scene Builder where to look for controller classes

In Oracle's JavaFX Scene Builder it is possible to specify which Java class will be used as the controller for a scene. It's member variables will be populated by the FXMLLoader with instances of the controls. If the FXML file is in the same…
Feuermurmel
  • 9,490
  • 10
  • 60
  • 90
5
votes
2 answers

Fxml file not updating in Eclipse

I'm experiencing a weird behaving in Eclipse when working with JavaFx, when I modify a FXML document in SceneBuilder, I save the changes, but when I run the project, my changes don't appear, it s after I refresh the concerned Fxml document that the…
AymenDaoudi
  • 7,811
  • 9
  • 52
  • 84
5
votes
1 answer

Load FXML files with custom components in JavaFX Scene Builder: Attributes are reset and children removed

I wrote an FXML-File where I use a custom component, extending Group. When loading this custom component, it should be adding some childs (here: MyOverlayIcon) to its children-list and set some attributes by code (here: layoutX and…
Daniel
  • 190
  • 3
  • 12
4
votes
1 answer

JavaFX: Exception in Application Start Method java.lang.reflect.InvocationTargetException

I am literally desperate. I don’t know why but every time I try to run my program this error comes out. I am using Netbeans, with Java 10.0.2 in order to have already installed JavaFX. I think it’s due to some problem with the FXML file. Can you…
4
votes
4 answers

Why can't i select JFXTextfield in scenebuilder and add it

JFTTextArea and JFXButton works but why not the JFXTextField? I have added foenix Library so I have got all the JFXTextField But i am not able to place JFXTextField in the SceneBuilder !! Here I have added the library in the project structure. If…
krishnaacharyaa
  • 14,953
  • 4
  • 49
  • 88
4
votes
6 answers

When running the program in netBeans the font looks extremely weird

I set up netBeans and a SceneBuilder on my new MacBook M1 and everything works, except of the font when running the program. It looks like this: and I have no clue why. The Button should say: "Click me" and the Label: "Hello". The Error message I…
user13581830
4
votes
1 answer

Fonts installed in Windows not shown in SceneBuilder

I'm just starting with SceneBuilder and JavaFX. I've opened a test project and am checking out SceneBuilder. Added Label to the AnchorPane and wanted to change the font of the text. But I don't see any fonts installed in my system by me. I've…
OatMeal
  • 121
  • 8
4
votes
2 answers

How to make Label take same height as font size in JavaFX?

I set the font size of upper label to 24px. I don't know where I can check the real height of element (if it's possible in the Scene builder), but there is the extra space in upper (designated in the image) and lower part of box. The line spacing…
Takeshi Tokugawa YD
  • 670
  • 5
  • 40
  • 124
4
votes
2 answers

Getting errors in including the WebView component in JavaFx and scene builder

I am using Eclipse (javafx) and Scene Builder developing an app and I need to use a webview. My program is working smoothly, but when I add a webview component into an anchor pane, I got this error. Caused by: java.lang.ClassNotFoundException:…
Ali Hasan
  • 53
  • 1
  • 4