fxml Questions

6

Solved

I would like to hide or deactivate a TextField and its Label in my JavaFX application. This is what I tried myTextField.setVisible(false); , but it's not working I use Eclipse V4.5.0 on windo...
Cormier asked 8/9, 2015 at 7:43

3

Solved

I want to make a customize list view in javafx. Here I need to bind multiple component in list cell as follow, like one label, one textfield, one button under one HBox and two button, one hyperlin...
Cloninger asked 25/10, 2013 at 11:1

2

Solved

I'm writing a JavaFX application and I'd like to create a screen that contains 2 long pieces of text. I don't know what the text is ahead of time, it will be filled in by some code at run time. To...
Bulwark asked 31/3, 2016 at 22:27

4

Solved

I've been looking at some blogs and other stackoverflow questions, and I'm not seeing a direct answer to my question. I am creating a javafx gui client and I want to have my menubar be one controll...
Listed asked 13/10, 2013 at 5:38

1

Solved

I've been playing around with swing for some time and decided to check out FX now. So far I'm finding it a lot easier and more fun to work with as compared to swing but I've run into a small speed ...
Brenner asked 27/2, 2018 at 19:7

5

Solved

I'm adding a style class to an node if it's selected and then remove it if I select other item. Even if I remove the style class the style wont refresh so it wont go back to normal state: admin_ca...
Senna asked 4/6, 2012 at 20:0

3

I want to create a controller based JavaFX GUI consisting of multiple controllers. The task I can't accomplish is to pass parameters from one Scene to another AND back. Or in other words: The Mai...
Polysepalous asked 9/1, 2018 at 17:7

3

Solved

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 pan...
Vile asked 31/7, 2012 at 7:8

2

Solved

I'm using SVG for an image in a button. But I'm not able to fill in color for it through CSS. Below is the code to render a button. <Button onAction="#closeApplication" > <graphic> &l...
Arlina asked 24/2, 2016 at 14:9

1

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 obv...
Nilla asked 4/10, 2017 at 1:11

1

Solved

Recently, I discovered that <ComboBox>—and other controls—can have an <items> element underneath them . How can I populate, or add items right to a control in the FXML markup? (One us...
Augur asked 22/12, 2017 at 18:57

1

Solved

Whose damn idea it was to exclude StyleManager without direct and clear replacement - it broke many programs as I see! I need to make some restyling for the whole application (custom components, c...
Gillis asked 13/11, 2017 at 22:1

6

Solved

I have a JavaFX application which has only one FXML file. In this file I have one AnchorPane which has a StackPane inside it. Here is the screenshot: When I start this application, I want to res...
Displant asked 5/3, 2013 at 12:26

3

Solved

I have an anchor pane with many text fields and other controls. I want to take values of all controls and their names and id. For example: how can I clear all textfield values?
Icecap asked 6/11, 2013 at 5:26

2

Solved

How can I set a minimum size to my window ? I try to set the minHeight minWidth value but I can still resize the Window under this values with the mouse. Here is my FXML root pane: <BorderPane...
Followup asked 2/5, 2016 at 11:42

0

This Java tutorial by Oracle says that The xmlns:fx attribute is always required and specifies the fx namespace. but what exactly is the fx namespace? And what values qualify for this a...
Tonl asked 30/10, 2017 at 12:57

3

Solved

Is there some guide or walkthrough to building a Scala + JavaFX desktop application? I'm having hard time finding a good source and I am using IntelliJ IDEA as the IDE. Even the most simplistic d...
Acetanilide asked 25/8, 2012 at 18:37

1

Solved

I have a JavaFX application, starting with main window as a TabPane object. In that TabPane I have a specific Tab, which contains a Button object, that can add new tabs to the main TabPane. But I n...
Mauceri asked 12/9, 2017 at 19:22

3

I am starting to build a program with SceneBuilder and JetBrains IDE, i want to internationalize the program so i made a properties file. Everything works fine on the SceneBuilder but when i try to...
Embracery asked 13/7, 2017 at 18:8

1

Solved

IntelliJ checkstyle indicates that this tag should be removed, as it is not required, as in instead of <VBox> <children> <HBox> ... </HBox> <HBox> ... </HBo...
Straightedge asked 28/7, 2017 at 15:28

2

Solved

Using IntelliJ I created a JavaFX application and then added Kotlin and Maven as frameworks to it. It came with a sample.fxml file and a Controller.java and Main.java. I created a new class for the...
Stavropol asked 17/7, 2016 at 23:45

1

Solved

I have a list view. I want to make the cells background transparent. Currently, I am doing the following: .list-cell { -fx-background-color: transparent; } But, the color of the cells remain wh...
Bakunin asked 1/11, 2015 at 13:37

2

Solved

using JavaFX for an application and I have a Main.fxml file with some fxml child files inside it. I would like to access to MainController class of Main.fxml from the child Controllers. I'll try ...
Irresolution asked 28/6, 2017 at 16:5

1

How do I develop a gradient in JavaFX that looks like the one below?
Stich asked 10/11, 2016 at 16:48

2

Solved

When i right click the FXML document and click open with scene builder the scene builder opens on my taskbar but if i click it, it will not show anything can anyone please help me? package applic...
Kocher asked 12/8, 2014 at 2:36

© 2022 - 2024 — McMap. All rights reserved.