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
9
votes
5 answers

JavaFX Scene Builder path in Ubuntu

Can anyone please tell me where I can find the path to the correct files for Scene Builder on Ubuntu to get it linked in my preferences with Eclipse IDE.
user294159
  • 127
  • 1
  • 1
  • 6
9
votes
1 answer

How to create an FXML file for an already created new component in java than add it to scene builder?

I'm new to javaFX. I created a customized Search box (extends TextField) in java, check image: I tested it with a test class and it's working. I want to know now if it's possible to create its FXML file than add this component to scene builder ?…
ben
  • 143
  • 1
  • 8
9
votes
2 answers

Where is filechooser in javafx scene builder 2.0? I can't find it

I have java jdk 7.65, sdk 7.65. Where is filechooser in javafx scene builder 2.0? I can't find it.
Passatizhi
  • 138
  • 1
  • 1
  • 7
9
votes
1 answer

Login Application with 1 stage and multiple scene in JavaFX

I am doing a timeline project. I have successfully created a login system and menus for everything, but when I press the buttons I have done so it will open a new window(with stage, scenes). I have read that it isn't the best approach. The best way…
jabbeboy
  • 289
  • 2
  • 5
  • 14
9
votes
8 answers

Can not open FXML after a while

I have a problem with my JavaFX Scene Builder v2.0-b14. From time to time, the FXML can't get opened. Even if i remove everything from the FXML except the root. In the taskbar, it looks like this: If i rename the File, i can open the FXML…
Kalaschni
  • 2,301
  • 24
  • 37
8
votes
3 answers

Why JavaFX application and scene builder is showing garbled text?

Here's how my scene builder looks like: and here's the GUI: The standalone scene builder: I just run the following source code from Java SDK demos: package sample; import javafx.application.Application; import javafx.event.ActionEvent; import…
Stephane
  • 4,978
  • 9
  • 51
  • 86
8
votes
4 answers

SceneBuilder not loading in Intellij

Scene Builder does not open in my Intellij. I've tried different JDK versions, but I just cant get it to load up in my IDE. It was working before I had to reinstall my OS. I don't get an error or anything, the Scene Builder window is just blank. It…
adamshu653
  • 95
  • 2
  • 6
8
votes
1 answer

How to enable a dropdown list of predetermined items to add to a custom control in SceneBuilder?

The DialogPane has this implementation in SceneBuilder: You can add to the Pane a list of buttons. I am looking to do this for my custom control in scenebuilder. I could not find anything obvious inside the constructor for DialogPane that would…
jpell
  • 163
  • 1
  • 10
8
votes
3 answers

Change Tab's Size of TabPane in JavaFX

Can we change the tab's size of TabPane in JavaFX? I am using SceneBuilder but it seems it doesn't offer any customozation of the tab's size Currently I have something like this . What I want is basically the tabs to fill the parent and when it is…
Ihsan Haikal
  • 1,085
  • 4
  • 16
  • 42
8
votes
1 answer

JavaFx SceneBuilder 2.0 not resolving custom controls

I have a custom JavaFx control that renders in my application. But, I can't get SceneBuilder to understand it. I have CustomTextField.java / CustomTextField.fxml. CustomTextField inherits from UserControl, as defined here, but my scene builder…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176
8
votes
4 answers

JavaFx : Disable Divider

I have a JavaFX application with a SplitPane. I want to disable the Divider on SplitPane, so it would not be possible to change its position when application is running. How can I do this?
mirzak
  • 1,043
  • 4
  • 15
  • 30
8
votes
2 answers

Custom JavaFX control - "root value already specified" in Scene Builder 2.0

I have implemented a custom control, using an fxml file and a Java class, similar to what is explained in this official tutorial (see the code bellow). Note that the fxml root element is defined with fx:root and I call setRoot programmatically. I…
Cyäegha
  • 4,191
  • 2
  • 20
  • 36
8
votes
3 answers

Images imported in scene builder is not getting displayed while executed in netbeans

All the functionalities are working fine except this image display. But in Scene builder preview its working fine. Can someone help in this??
Deepak Prabhu
  • 219
  • 1
  • 4
  • 15
8
votes
2 answers

With a running JavaFX application, open a new window with its own, separate controller class

I'm using SceneBuilder in conjunction with Netbeans' JavaFX library for this project. I use Scenebuilder to create the fxml and netbeans for the controller classes. The goal is to build a fairly complex app that is to be deployed. I can launch a…
Kyte
  • 834
  • 2
  • 12
  • 27
7
votes
1 answer

Scene Builder does not open FXML file with comments

I started with a good JavaFX Scene Builder 11.0.0 installation, and IDE integration was working fine. Then Scene Builder failed to open a FXML file. With trial and error I discovered that Scene Builder did not like a at the end of a…
user250343
  • 1,163
  • 1
  • 15
  • 24