Questions tagged [fxmlloader]

310 questions
-1
votes
1 answer

Default FXML JavaFXApplication throws exception

Whenever I create a new JavaFX fxml application, every time I try to run it, it throws an InvocationTargetException. It's just the basic application that I try to run without adapting anything... The fxml file is the default one that only contains a…
-1
votes
2 answers

Which are the things to consider for running javafx standalone application 24*7*365 days

I am working on one project which is a standalone javafx application. It will run 24*7*365 days continuously. So, i have a question in mind. which things we need to consider for running this application smoothly and with high performance for…
-1
votes
1 answer

getting controller string value to another controller

I am having trouble understanding what to do in order to get a string value to another controller. I've searched other questions and cannot apply a solution as some answers seem to be quite confusing to me. I want a combo box value found in one…
codeorange
  • 11
  • 5
-1
votes
1 answer

Image FXML is not opening in JavaFX

While I was trying to load two different scenes, it doesn't open the image FXML, basically I want the image FXML to be opened first followed by welcome screen. Some how Image scene is not showing. Main.java public class Main extends Application…
user2459816
  • 85
  • 2
  • 11
-1
votes
1 answer

Error resolving onAction

I know this has been asked several times before but none of the answers were a solution for me. I just updated the JDK to java-8-openjdk-amd64 (from jdk7) and these errors just appeared: javafx.fxml.LoadException: Error resolving…
Eric
  • 19
  • 7
-1
votes
2 answers

Refreshing an FXML Table on button Press

How do you refresh the data in your tableView on button Press using FXML? I have the following file structure and I want to refresh the data in this table when a button is pressed. Would anyone know a solution? public class MyTable { private…
CodeGeek123
  • 4,341
  • 8
  • 50
  • 79
-2
votes
2 answers

FXML Exception in JavaFx | TableView - Table is Null | Eclispe IDE

I have been working on it for the past 3-4 days. I have googled it and also saw similar questions' answers but it did not help me. Exception at Changing Scence:javafx.fxml.LoadException: address-to-//application/Dashboard.fxml This is the…
-2
votes
1 answer

Does maven-archetype-quickstart support fxml ? If yes, How should I enable it?

I am working on geotools project. Showing error (Exception in Application start method) while loading FXML file. There is no Location issue, I have double-checked my FXML file's location. The same code is working in other projects. Please help me,…
Rajib Pan
  • 9
  • 2
-2
votes
1 answer

Is there a way to load user generated fxml?

I want to create something like scenebuilder for worksheet documents and was wondering how i could allow my users to use custom components. For that i would like to import fxml files that my users created and render the controls defined in them in…
Daniel
  • 13
  • 6
-2
votes
1 answer

Pass the value of stage to another controller of javafx class when load the FXML file

As per my thinking When the below two lines are executed by Compiler in javaFX, First line just set the location of ABC.fxml file. And in second line when execute loader.load() that time Compiler make one object of the Controller of ABC.fxml file…
Vimal
  • 11
  • 3
1 2 3
20
21