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
7
votes
1 answer

Creating Custom Control in Jar for Gluon Scene Builder 11.00

I want to create a custom control in an executable jar file and then use in Gluon Scene Builder 11.00. I need to know how to do this. I tried several forms but my controls not appear when import jar in Scene Builder. I am using IntelliJ Community…
7
votes
1 answer

TabView: Have some of the tabs on the left side, and some of them on the right (Space in between)

I'm trying to create a TabView in JavaFX. I would like to have some of the tabs distanced from the other tabs, since their functions belong to another category. This is what it looks like now: And as you can see I want the two last tabs to be…
7
votes
1 answer

javaFX program not working after changing the scene builder and jdk

My program worked perfectly before, And I changed my scene builder to gluon scene builder 10 from JavaFx scene builder 2.0 to add some CSS styling. I added the styling and the program showed errors like WARNING: Loading FXML document with JavaFX…
thadaBoy
  • 425
  • 4
  • 21
7
votes
0 answers

FXML property binding in Scene Builder, Possible?

Is it possible to make FXML property bindings (disable="${myNode.disable}" to bind the disable property with myNode's disabled value) from within scene builder itself? The only way I could get it done was by manually editing the output file. Here's…
Mordechai
  • 15,437
  • 2
  • 41
  • 82
7
votes
3 answers

How can I prevent a window from being too small in JavaFX?

I have this very simple form and I set the min width and height of all UI controls to be USE_PREF_SIZE, so, they cannot get too small: The code looks like this:
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
7
votes
1 answer

JavaFx TableView Columns don't fill the TableView Width

I have a TableView generated with SceneBuilder and all the columns are FXML imports from other views, until there no problem, but the columns don't fill the width. I tried to fix this with scene builder and FXML, but no luck, all the sizes are…
Ocirederf
  • 113
  • 1
  • 6
7
votes
1 answer

How to listen for a selection change in a JavaFX ListView

I've been searching for a while now and I haven't found anything that works. I want to make it so that every time the user clicks a new client in my list, the clients details are presented in the fields (see screenshot below): Client screen After…
theopendle
  • 356
  • 2
  • 7
7
votes
1 answer

IntelliJ IDEA plugin for JavaFX Scene Builder drag & drop stops working

I'm working with IDEA Ultimate 2016.3, Scene Builder 2.0-b20 on MacOS Sierra. The drag & drop feature, dragging the controls from the left side panel into the scene seems to stop working after a while. I have to restart IDEA when this happens before…
cfromme
  • 470
  • 4
  • 11
7
votes
3 answers

Custom Control ClassNotFoundException in Scene Builder

I have created a new control by extending an existing one, and I would like to use this new control in my JavaFX scenes. I would like to be able to edit my scenes using Scene Builder, but after adding the new control to the FXML file, I am…
Mitch Talmadge
  • 4,638
  • 3
  • 26
  • 44
7
votes
4 answers

how to make image buttons on java fxml using scene builder?

I am using netbeans and want to use media file from my desktop to replace the boring button. So this is my code. I want it so the image becomes the button.
7
votes
1 answer

JavaFX Scene Builder - line break in button's text

How can I add a line break to a button's text when using the Scene Builder? Doing it in the controller's code (of the Java file) gives me what I want: button.setText("one\ntwo"); results in onetwo being displayed. But inserting one\ntwo into the…
Socrates
  • 103
  • 1
  • 3
  • 8
7
votes
2 answers

JavaFX search textfield

In the JavaFX Scene Builder there is a text field to search in the library: Is this a default control (if so I can't find it) or did they simply style a text field? I tried looking in the source code of the Scene Builder as well, but could not…
Aerus
  • 4,332
  • 5
  • 43
  • 62
7
votes
4 answers

Create solid separator

I have looked around quite a bit and cannot find the solution. I am adding a separator in SceneBuilder. This is easy. Now I want this separator to be a solid line. This I am having issues with. I have tried : -fx-border-style:…
blo0p3r
  • 6,790
  • 8
  • 49
  • 68
7
votes
2 answers

Implement drag-and-drop like in Scene Builder

I'm building an application in JavaFx 2.2 which consist in a splitpane with a panel of component on the left side and a working sheet on the right side. Basically what i would like to do is a simple wysiwyg editor where you drag component from the…
Badisi
  • 469
  • 1
  • 3
  • 12
7
votes
1 answer

Javafx 2.0 : How to change the size of the radio-buttons circle with CSS?

I try to change the radio-buttons size in my app build with FXML and CSS. I use the sceneBuilder. Thanks for your help ! Here is my actual CSS code for the radio-buttons : .radio-button .radio{ -fx-border-width : 1px ; -fx-border-color :…
A.Fauchere
  • 73
  • 1
  • 1
  • 3