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...
Cosmography asked 15/3, 2012 at 7:48

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...
Worthless asked 1/3, 2013 at 3:10

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...
Algophobia asked 27/12, 2014 at 13:34

3

Solved

The TableView class of JavaFX 2.2 has a generic type S, I am wondering how one can set this from FXML?
Walrath asked 15/4, 2013 at 8:21

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 ...
Jink asked 25/5, 2012 at 8:47

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...
Romilly asked 22/11, 2016 at 19:56

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...
Chapin asked 21/10, 2016 at 16:55

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....
Decemvir asked 6/4, 2015 at 2:3

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...
Nellnella asked 2/9, 2016 at 13:17

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...
Trejo asked 12/8, 2016 at 11:21

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...
Suricate asked 9/9, 2015 at 15:17

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...
Boult asked 16/8, 2012 at 19:45

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() &amp...
Semiskilled asked 19/5, 2013 at 15:27

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...
Reek asked 7/6, 2016 at 22:5

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...
Ireful asked 30/5, 2016 at 21:37

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...
Arp asked 30/4, 2016 at 3:59

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...
Skulk asked 25/4, 2016 at 18:5

© 2022 - 2024 — McMap. All rights reserved.