Skip to content

Tag: javafx

Build and deploy JavaFX Applicationn with jlink

I have a script build.gradle, which created the IDEA development environment when creating a JavaFX project with Gradle support: After the “build” task is completed, the “distributions” folder appears in the build folder. It contains a zip archive with the following contents: The bin f…

Openjdk-17.0.2 with javafx in termux

Hello I installed openjdk-17.0.2 In termux and I want to make a javafx application I start finding the sdk of javafx for java 17.0.2 but I got nothing. Can anybody tell how can I install the javafx for the openjdk 17.0.2. Or how can I install java 18.0.1 in termux because there is a option to download javafx …

Created .exe from jpackager crashes

I have a JavaFX Project, which I want to export as a dmg and exe. The export as a dmg file for Mac was no problem. But the export as a .exe file for Windows is not working. I created a jar file and I ran jlink. Then I exported the project with jpackage. Here is the command: On my

Array to ComboBox – JavaFx

I am working on a school project, I am trying to bring an a String array straight into a combo box and am getting an error. Error: java: incompatible types: java.lang.String[] cannot be converted to javafx.collections.ObservableList<java.lang.String> Answer That ComBoBox constructor needs an ObservableL…