Questions tagged [javafx-17]

is dedicated to questions that are specific to the JavaFX 17 version

18 questions
7
votes
2 answers

Leaflet does not work in WebEngine after JavaFX 17

I have an application made with JavaFX 16 which contains a WebView used to show an interactive map using the Leaflet JS library. I have a problem when I try to transition to JavaFX 17, the interactive map does not work anymore (it cannot be moved…
7
votes
0 answers

JavaFX lib can not be build any more since JavaFX 17

I have a JavaFX lib which I use for my projects. When I set the maven dependencies to JavaFX 16 the lib can be build via "clean install" without any errors. When I switch the maven dependency to 17 I get several error like: [INFO]…
5
votes
0 answers

-fx-font-weight: bold not working for Javafx 17

Recently, We shift our project Javafx8 to Javafx17. All css properties seems to be working fine but -fx-font-weight: bold not working. We are stuck on this since last two days. We have tried every possible solution But, it is not…
Saad Khan
  • 201
  • 2
  • 10
4
votes
2 answers

Unable to launch a JavaFX application which uses Apache POI

I have a JavaFX application that works as expected. I need to use Apache POI to read and write excel files. The following are the steps I have taken: Added the required dependency implementation 'org.apache.poi:poi-ooxml:5.2.3' Added the module to…
Joseph Sang
  • 310
  • 2
  • 9
3
votes
0 answers

SceneBuilder version 17.0.0 does not seem to work with JFoenix

I updated Scenebuilder to version 17 and some controls from a third party library (JFoenix)do not seem to work. I checked at least for JFXTextField and JFXSpinner. To reproduce, simply install Scenebuilder 17.0.0 and add jfoenix library version…
Jawad El Fou
  • 313
  • 2
  • 11
3
votes
1 answer

What are the equivalent libraries for rt.jar and jfxrt.jar for the latest version of jdk17 and javafx17?

I was tasked to upgrade an old desktop app using old java and it used rt.jar and jfxrt.jar libraries. I have searched online about the libraries(rt.jar & jfxrt.jar) but apparently, it is no longer there in Java 17 and JavaFX 17. What are the…
2
votes
0 answers

JavaFX Exported Runnable JAR Error, Error initializing QuantumRenderer, No toolkit found

I'm building my final high school project and I'm using JavaFX for the first time. I really like it and it works fine in Eclipse IDE but when I exported my application I came to a problem. The runnable .jar is crashing. I was browsing about the…
Trahnell
  • 21
  • 2
1
vote
1 answer

(Gluon) JavaFX17/18 on Raspi (using desktop) not running due libglass.so: undefined symbol g_direct_hash

I have been trying to install/run JavaFX18 from Gluon on my raspberry pi4 and getting the following error message: Exception in thread "main" java.lang.reflect.InvocationTargetException at…
MaxL
  • 11
  • 2
0
votes
0 answers

Error: JavaFX runtime component is missing and needs to be used to run this application

jdk:17.0.8 Mave:3.8.8 I want to use GraalVM to package the native image, see GraalVM website Use the "native image-jar App.jar" command easy to generate a native image. The premise is that need to build JavaFX programs as executable jar…
hod
  • 1
0
votes
0 answers

Why is the height of the component the same as the scene, but the button at the bottom of the component is blocked?

I wrote a javafx program(use maven + java17 + javafx17.0.1 + jfoenix9.0.10), which generates a window 1035 wide and 680 high. I made a black box on the left side of the window. The black box is a ButtonsBox component, and the height of the component…
CTimet
  • 1
0
votes
0 answers

Running JavaFX application on Ubuntu in Monocle mode

I'm trying to start a JavaFX application on ubuntu without X11 server. The idea is to get the visualization of the application using framebuffer. I'm not sure if I got it right, but as I understand the Monocle, I should be able to run the…
michalp
  • 83
  • 5
0
votes
0 answers

Using JavaFX 17 while using Java 11

Is it possible to use JavaFX 17 with Java 11? I want to keep using Java 11 because I use it a lot and I don't want to switch over to Java 17. But can I run JavaFX 17 while using Java 11? I have tried to find it on the internet, but I couldn't find…
Thijzert
  • 11
  • 4
0
votes
2 answers

JavaFX 17 -> Custom TextArea/TextField Right Click Menu

I would like to ask a small question. Indeed, I want to customize the menu that appears when we make a right click in a textarea or a textfield. My goal would be to keep the basic menu (copy, paste, cut...) by adding the buttons I want. I found this…
Spinogl
  • 15
  • 6
0
votes
1 answer

"Code is not a valid class" when Pasting image on to Project folder - JavaFX using NetBeans

I am new to JavaFX, I am trying to simply put an image on the stage. However, when I copy and paste it to a separate folder under the source packages, I seem to be getting the error window saying: "code is not a valid class". I don't know exactly…
0
votes
0 answers

Error when running jar: JavaFX runtime components are missing, and are required to run this application [VS Code] [Java]

My JavaFX project runs in the editor fine but when I try to build to .jar it wont run. I am using java 17 so I need to manually import it and I have imported the libraries properly in settings.json and have added the vmArgs in launch.json. When I…
Billy1301
  • 11
  • 3
1
2