Top "Javafx" questions

The JavaFX platform enables developers to create and deploy Graphical User Interface (GUI) applications that behave consistently across multiple platforms.

Swing vs JavaFx for desktop applications

I have a very big program that is currently using SWT. The program can be run on both Windows, Mac …

java swing user-interface javafx swingx
JavaFX How to set scene background image

How can I set the background image of a scene?

javafx javafx-2
Passing Parameters JavaFX FXML

How can I pass parameters to a secondary window in javafx? Is there a way to communicate with the corresponding …

javafx parameters dependency-injection parameter-passing fxml
close fxml window by code, javafx

I need to close the current fxml window by code in the controller I know stage.close() or stage.hide() …

java user-interface javafx fxml
javac: invalid target release: 1.8

I recently downloaded JDK 1.8.0.0_06 that comes bundled with NetBeans. I then got to find out that my JavaFx project, that …

java netbeans javafx runtime-error
How to close a JavaFX application on window close?

In Swing you can simply use setDefaultCloseOperation() to shut down the entire application when the window is closed. However in …

java javafx javafx-2 javafx-8
Platform.runLater and Task in JavaFX

I have been doing some research on this but I am still VERY confused to say the least. Can anyone …

java multithreading user-interface task javafx
JavaFX: How to get stage from controller during initialization?

I want to handle stage events (i.e. hiding) from my controller class. So all I have to do is …

javafx initialization javafx-2 javafx-8 stage
JavaFX Application Icon

Is it possible to change the application icon using JavaFX, or does it have to be done using Swing?

java javafx javafx-2 javafx-8 stage
What is the recommended way to make a numeric TextField in JavaFX?

I need to restrict input into a TextField to integers. Any advice?

input filter textfield javafx