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

How to resize child AnchorPanes within a VBox JavaFX

This is my main UI Main UI I have a VBox (Fxid:datePane) within a AnchorPane. The Vbox is blue in color. When the button with the label "Add" is clicked, a "second.fxml" file is loaded into the VBox (Fxid:datePane). The fxml file loaded takes the…
R. Haroon
  • 103
  • 1
  • 13
0
votes
1 answer
0
votes
1 answer

.getSource() returns null value on javafx

I'm doing a calendar, where if I press to one Label, a second window is showed up to make the new appoinment. I have for all days, one method where I receive the event. When I try to get the information from this method(the public String aux) …
0
votes
2 answers

scenebuilder 8.3.0 disappearing menus and no resize

I tried SceneBuilder 8.3.0 (executable jar) on a RHEL 6.3 but I fail to get it run properly. First, I get undesired logs on the sceen. Then, closing the splash screen a java.net.UnknownHostException is displayed. Then the main window cannot be…
JeanPhi
  • 1
  • 1
0
votes
0 answers

JavaFX DatePicker Week View

I'm trying to figure out a way to toggle the JavaFX DatePicker between month view and week view. I'm new to JavaFX and fairly new to Java in general. I'm not even sure if there is a week view available in JavaFX. I've searched other StackOverflow…
aforbe2
  • 21
  • 5
0
votes
1 answer

JavaFx DatePicker onHiding and onHidden arguement type mismatch

I' using SceneBuilder to create a Java FX project and I'm running into an arguement type mismatch when trying to handle onHiding and onHidden for fx date pickers (Exception message at the end). I've already looked at the answer here: JavaFx Event…
PujitM
  • 96
  • 1
  • 9
0
votes
0 answers

Choosing between two fxml files when using @FXML and one controller

I have created a JavaFX application that contains two windows. The first window is open by default and has a button that when clicked is supposed to open the second window. I am trying to get the 2nd window stage into my Controller class so I can…
0
votes
1 answer

Javafx dynamic column amount

Say I have a javafx application and I want to display e.g. a list with 15 images in this application. The images should always have the same size so if the user resizes the application, if there is not enough space to show e.g. 3 images next to each…
cranckstorm
  • 301
  • 1
  • 12
0
votes
1 answer

How can I initialize ListView from FXML file?

I have my scene made with JavaFX Scene Builder and ListView in it. I want it to show some data from xml file, but I have no idea how to properly initialize this ListView. import javafx.collections.ObservableList; import…
Sheb
  • 175
  • 2
  • 11
0
votes
1 answer

JavaFX updating controller property from another controller

I have a progress bar that I am trying to update within javaFX in a controller. I am updating the progress bar based on a function called Generate(), if it is called it should update the progress bar within the main controller. However, the code I…
Taranjit Kang
  • 2,510
  • 3
  • 20
  • 40
0
votes
0 answers

Change color by slider

Hey im trying to build a simple paint app in javafx and scenebuilder. I have a ColorPicker that has a big variety of colors, but i want the user to be able to customize their color from a Slider (f.ex RGB or HEX). "public Color(double red, …
blixenkrone
  • 388
  • 2
  • 7
  • 20
0
votes
0 answers

getDisplayPosition method is returning 0 in software made with SceneBuilder

I created a BorderPane and put a Group container in Center position. Inside the group container I added a LineChart and a circle. I fill my LineChart with a File and it is correctly filled. I want to get the displayPosition of the nodes of my…
davigzzz
  • 134
  • 1
  • 12
0
votes
1 answer

How to load scenes created in Scene Builder into JavaFX application main class?

I can't find a clear example of how to write the Main class in the JavaFX application to use the fxml files created in Scene Builder, the part that loads and shows the stage and the scene. Can someone please show me one? I have created 7 different…
0
votes
1 answer

How to add a controller java class in a different package to an fxml file in scene builder 8.3.0?

I am developing a Java desktop application using JavaFX and for developing UI I am using Scene Builder 8.3.0. The issue that I am having is when I am trying to add a java class of a different package to my home.fxml file, scene builder do not show…
Chamalee De Silva
  • 687
  • 1
  • 9
  • 28
0
votes
1 answer

getting variables from other files in the project (like from main class and from other .class file)

EDIT: Someone marked this as duplicate. I've read through the other question several times but I don't really understand how I can apply this to my program. It would be really nice if someone could help me in this specific context as I don't have…
Uwe Pfeifer
  • 149
  • 1
  • 10
1 2 3
99
100