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
13
votes
2 answers

JavaFX Scene Builder: How to uncheck "Resize" option in Layout tab?

I want to make my .fxml application to not be resizeable, but I am not able to uncheck "Resizeable" check box on any anchorPanes, the option is greyed out. The same thing happens even on a new, completely empty project. Product Version JavaFX Scene…
user1648411
13
votes
2 answers

Clone JavaFX Node?

I have created a Node (AnchorPane) in the JavaFX scene builder and was wondering how to clone it. I saw Duplicate/Clone Node in JavaFX 2.0 but I need to clone the Node without re-loading the fxml. Is there any way to achieve this in JavaFX 2?
Shahmeer Navid
  • 566
  • 4
  • 10
  • 18
12
votes
2 answers

JavaFX ToggleGroup in SceneBuilder

In JavaFX exists the control ToggleGroup. I have installed the SceneBuilder, version: Product Version JavaFX Scene Builder 8.0.0 Build Information Version 8.0.0 Date: 2015-03-25 Java Version: 1.8.0_40-b25, Oracle Corporation I can't find this…
mrbela
  • 4,477
  • 9
  • 44
  • 79
12
votes
3 answers

How do I view the fxml using SceneBuilder?

Sorry for such a simple question but I'm finding it hard to believe that I can't actually view the fxml whilst developing a user interface using JavaFX Scenebuilder. I'd expect that I should be able to write a user interface using the controls as…
ed_me
  • 3,338
  • 2
  • 24
  • 34
12
votes
2 answers

JavaFX menu item show shortcuts on right hand side

Take for example the menu items from the edit menu in JavaFX Scene Builder See how they display the shortcuts on the right? Is there any easy way to achieve the same effect using JavaFX? Thanks.
Nicolas Martel
  • 1,641
  • 3
  • 19
  • 34
11
votes
4 answers

Make a dark mode with JavaFx

I was wondering if there is an easy way to make a dark mode using JavaFx and CSS. I have a MenuBar with a CheckMenuItem called 'Dark mode' and when I click it I want the scene to become dark and the text to become white.
Sander B
  • 337
  • 3
  • 4
  • 18
11
votes
3 answers

How to use FXMLLoader.load() - JavaFX 2

I am building a JavaFX application using the JavaFX Scene Builder. The interface was created in the Scene Builder and a FXML file (main.fxml) was created. To use the interface in my application I must load the FXML file using the FXMLLoader, but…
ceklock
  • 6,143
  • 10
  • 56
  • 78
10
votes
1 answer

SceneBuilder Tooltip over Label JavaFX

If I have a label with a text that's too long and I want a tooltip that shows the entire label text when I hover over the label with my mouse. Is that possible to do in SceneBuilder or do I have to do it programically for all my labels?
uraza
  • 907
  • 4
  • 12
  • 22
10
votes
5 answers

remove default focus from TextField JavaFX

I have designed some TextField in a form by SceneBuilder, when I run the code, one of the TextFields has been clicked by default, I want when I run the code, none of the TextFields get selected by default and user select a TextFiled. UPDATE: As you…
Yashar
  • 2,455
  • 3
  • 25
  • 31
10
votes
2 answers

JavaFX getting scene from a controller

I recently started playing around with Java FX, FXML, and scene builder, and I've been trying to add key listeners to one of the controllers for a scene. When I do this though, the key listeners don't work as they should, and I figure it's because…
Keanu
  • 207
  • 2
  • 3
  • 9
10
votes
2 answers

How do I get rid of the border around a split pane in JavaFX?

I'm using the JavaFX SceneBuilder, but I'll paste the FXML below since it's short. I have a very simple window with a split pane inside an anchor pane. Here is the FXML:
Ryan J
  • 2,502
  • 5
  • 31
  • 41
10
votes
2 answers

JavaFX custom control (TextField) not working

I am trying to make a custom control with JavaFX and SceneBuilder 1.1. I have this code: FXML
xigoa
  • 109
  • 1
  • 5
10
votes
1 answer

Setting a class Controller for Anchor Pane

When working with JavaFX Scene Builder encountered the following problem... Given: A file fxml, containing description Anchor Pane (fxml formed from Scene Builder); For Anchor Pane is not specified Controller Class. This fxml loaded into the Java…
Rams
  • 103
  • 1
  • 1
  • 5
10
votes
3 answers

JavaFX2 - very poor performance when adding custom made (fxml)panels to gridpane dynamically

Problem I want to add custom made panels, built via javafx scene builder, to a gridpane at runtime. My custom made panel exsits of buttons, labels and so on. My Attempt I tried to extend from pane... public class Celli extends Pane{ public…
user1562969
  • 155
  • 1
  • 2
  • 7
9
votes
5 answers

Set scene width and height

I have been trying to set the scene's width and height outside of the constructor and it's been to no avail. After looking through the Scene API I saw a method that lets you get the height and width respectively but not one to set the method.. :s…
Chika
  • 103
  • 1
  • 1
  • 4