fxml Questions
1
Solved
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 b...
Natalee asked 31/5, 2017 at 21:2
2
Solved
I'm trying to learn JavaFX 2.0 + FXML, and i found it kind of uncomfortable to make fxml file, without knowing what i can put in it and what i can't. I mean which tags are possible in FXML, which a...
2
Solved
I created a .fxml file using javafx scene builder in NetBeans.
How can I convert .fxml file in NetBeans to .java?
Is that any program to convert it?
I am not very good in fxml so I want to us...
2
Solved
I currently have a problem with setting a CheckBoxTableCell from the FXML. I tried to convert this code to FXML:
tableCol.setCellValueFactory(new PropertyValueFactory<Product, Boolean>("prop...
3
Solved
0
I get the following warning and stack trace when I traverse to a screen containing a WebView in my javafx application.
However the WebView is displayed and works fine.
fxml tag
<WebView fx:id=...
Helldiver asked 6/3, 2017 at 18:43
2
Solved
I hope to get some answers regarding having fx:include statements for each tab in a tabpane. I have managed with ease to get content to show up BUT referencing methods of the associated controller ...
Thach asked 26/8, 2016 at 10:24
4
Solved
I would like to communicate with a FXML controller class at any time, to update information on the screen from the main application or other stages.
Is this possible? I havent found any way to do ...
2
Solved
I am building a GUI with Scene Builder, and the majority of my scenes have one element in common (an iOS type home button at the bottom).
I was wondering if it was possible to define this component...
Haggadist asked 2/9, 2016 at 21:48
2
Solved
I want to change UI screens from login.fxml to home.fxml.
Should I change the Stage or the Scene? I'm not sure which is the best practice?
Also, can I use a lambda expression for the handler in t...
1
Solved
I'm using FXML with JavaFX to develop graphical interfaces. I discovered this method for binding the width/height of a child node to the width/height of it's parent node:
<Node fx:id="parent"&g...
2
Solved
How do you create a new tab using JavaFX/FXML? I've created a tabpane in my FXML but I want to click a button that causes a new tab to come up.
Here is my FXML:
<?import javafx.scene.effect....
2
Solved
I am new to JavaFX, and am trying to do a project in it. In some tutorials they mention FXML. What is the difference between the two?
I am using NetBeans IDE to develop my project, and heard abou...
Guinea asked 16/3, 2014 at 6:58
1
Solved
Is it possible to get a resizing TableView in FXML, where each columns resizes itself relatively?
I know it's possible in code, but I'm specifically looking for an FXML approach.
This is the curre...
2
Solved
It's about JavaFX. When i want to inject fx:id in Scene Builder, i get this warning: No injectable field found in FXML Controller class for the id 'something'. I wanted to ignore it, and created a ...
Estrin asked 11/11, 2014 at 13:3
1
Solved
I followed this Oracle tutorial to create a TableView in FXML. However there is no info on how to make a cell editable. I have tried other tutorials suggesting to add something like firstNameCol.se...
1
I am designing a JavaFX program, using zenjava basic archetype. Everything works just find, except when I want to add and Image using an ImageView widget.
I have created a new folder under src/ma...
2
Solved
I'm converting a pure JavaFx app, in which the code below worked fine when put all in one class, to a FXML one, where the Stage declaration and the button handler are in separate classes. In the a ...
Twinkle asked 26/11, 2015 at 6:55
3
Solved
I use .fxml-Files for the view-layer of my application. Each fxml has a controller attached to it
<AnchorPane fx:controller="movielistjavafx.view.MainWindowController">
Let's assume...
6
Solved
I am using javafx along with fxml, so I use the controller for the real coding. I need to do a few operations on the stage, such as getting its x- or y-axis position. I have tried stage.getX() &...
1
Solved
I'm learning how to use javafx, along with scenebuilder by creating a very basic calculator but I've come across a problem where it's hard for me to find a way to not have a seperate function for e...
Certificate asked 18/6, 2016 at 23:53
1
Solved
I am trying to run this fxml code in javafx:
<BorderPane fx:controller="com.bryantmorrill.chat.main.Controller"
xmlns:fx="http://javafx.com/fxml" >
<center>
<ScrollPane BorderPan...
1
Solved
How can I center the text of a Label in javafx ? In the .css stylesheet or directly in the fxml.
I tried Label { -fx-text-alignment: center;} in the .css but it does not work. Even in the scene bu...
1
Solved
In JavaFX subclasses of Control have a tooltip property which means that one can declaratively add a Tooltip using FXML thusly:
<CheckBox fx:id="someCheckBox" mnemonicParsing="false" text="Do I...
1
Solved
I have been working with SceneBuilder and I observe that it applies the attribute of mnemonicParsing and equates it to false for every Node that I make.
What exactly is it? What difference does it...
© 2022 - 2024 — McMap. All rights reserved.