Skip to content
Advertisement

Tag: javafx

JavaFX event on Mouse Wheel Finished for ScrollPane

I have a ScrollPane with lots of elements on it, (Same one as this JavaFX setHgrow / binding property expanding infinitely) and initially I was planning on using the setOnScrollFinished(this::scrollFinished); event, however I’ve now discovered through research that this only applies to touch gestures, and trying to find a compromise for the MouseWheel hasn’t been great and I just find

Unable to delete .mp3 file due to javaFx MediaPlayer

I am working on my Hhighschool capstone. It is a program where the user can download songs from the internet and store them in an organized manner and play them. My program must contain a feature where the user may delete a specified .mp3 file by simply pressing a button. I have tried the .dispose() method on the MediaPlayer, and

JavaFX app overwriting files while being open causes exception

I have a runnable jar file (with a lib folder housing all the dependency jars). This is located on a network share which anyone that has access can run from. This works great except one huge caveat. If I want to deploy a new version of the software, I have to ask everyone to exit the application first. This is

Why are my JavaFX buttons unevenly spaced?

I’m new to JavaFX, trying to build a GUI program that displays a bill for a table at a restaurant when you click on that table. The spacing is off between the table buttons and I’m not sure why. The GUI class for my program: Answer From the Javadoc: Row/Column Sizing By default, rows and columns will be sized to

How to package JavaFX + Spring Boot application via jpackage correctly?

I’m having trouble packaging my project using jpackage by badass jlink plugin. Project contains Spring Boot, which works with JavaFX via FXVeawer. And with Spring Data application works with Database. My build.gradle: Application is packaging, but due to error Caused by: org.springframework.cglib.core.CodeGenerationException: java.lang.IllegalAccessException–>module spring.geodemo does not open spring.geodemo to unnamed module @39cd0bac does not start. I have no idea what

JavaFX trouble importing [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year. Improve this question I am new to java and I would like to convert a buffered image to a regular image object and then

Advertisement