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...
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...
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...
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
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...
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...
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...
6
Solved
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?
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...
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...
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...
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...
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...
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 ...
1
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...
© 2022 - 2024 — McMap. All rights reserved.