Category "javafx"

Can javafx run with DRM in ubuntu without desktop environment?

I am tring to run a javafx program on ubuntu with this DOC,i am using sdk:monocle-linux-x64_bin-sdk,and copy the library to lib path(include the libgluon_drm-1.

Error occurred during initialization of boot layer java.lang.module. FindException: Module javafx.controls not found

I am trying to build the sample javaFX application in the Intellij 2018.3 IDE. I have installed the oracle JDK11, and downloaded openjfk11. I created a library

Restarting and pausing and resuming clip hangs the gui of music player, while pressing pause and play resumes playing from stopping point

This program is a music player that allows user to pick a .wav file, play, pause, resume, and restart a the music file from a clip object and audioinput stream.

Take a txt file and Insert to tableview (JavaFX)

I try to insert to tableview from txt file, but I couldn't do it. This is my txt file. aa.txt (It contains int A, int B, int F) 0 0 0 1 0 1 0 1 0 1 0 0 Th

Painting difuse texture in javafx?

Is there a way to paint a 3d texture on a 3d surface like blender ?

Can open fontawesomefx-glyphsbrowser- windows batch file

Can someone tell how to open font awesome font browser (linked below)- windows batch file. when I double click, command is opening but it shows an exception an

JavaFX - Making a post request using org.apache.httpcomponents fails

When making a post request to my backend, I get the following error. I can't really find a fix online and am very new to Java. Here is the error: Caused by: jav

How to dynamically resize an svg in javafx according to the size of the region

I'm keen on svg and would like to put many of them in my User Interface. But I have a problem with the size of svg. I would like to load any svg I retrieve as a

Converting from Swing to JavaFX? (Migration Guide)

When converting a Swing project to a JavaFx project, which classes from JavaFx match up to the Swing classes? A 1-1 matchup is best. I am not looking for inte

JavaFX: check whether a text property is blank (and not just empty)

I want to have a button enabled or disabled based on whether a text field contains anything, and I want to implement this by using property binding. So at fir

Unable to run javafx project

I am getting the following error when I run the main file in the Javafx project: C:\Users\monu\OneDrive\Documents\jdk-11.0.10\bin\java.exe --module-path C:\D-d

Styling and organizing nodes inside a scene

I want to do the following things: Organize my JavaFX code's nodes Increase the size of my combo boxes a little bit Change the scene background's color. My c

How do I see if a specific CheckBox is selected within a GridPane?

I've created a 10x10 GridPane of CheckBoxes. I need to see whether a specific CheckBox is selected, but the GridPane is made up of nodes. So If I access a parti

"Graphics Device initialization failed for : d3d, sw" for JavaFX on IntelliJ IDEA Windows

While trying to run a simple JavaFX program on IntelliJ IDEA, I kept getting a long line of errors in the console that started with "Graphics Device initializat

Javafx - change Theme (CSS) on active window

I want a Button that allows me to switch between Dark/Light-mode. But I have the problem If I switch, the active windows will not change their Style. First of t

How to lock the divider in SplitPane JavaFX?

I have a SplitPane and I need to divide the layout 25% and 75%. Also, I need to disallow dragging towards right side beyond the 25% split. However I can drag to

How to dynamically change font size in UI to always be the same width in JavaFX?

What I am trying to do is create a label in fxml, using Scenebuilder, which updates its font size to always ensure that the content of the label is the same siz

How to get text from TextArea in JavaFX saving line breaks?

I have a TextArea and a few lines of text in it. When I extract String by getText() method what I`m getting is a line of text instead of really written few line

How to get text from TextArea in JavaFX saving line breaks?

I have a TextArea and a few lines of text in it. When I extract String by getText() method what I`m getting is a line of text instead of really written few line

JavaFX: How to pan a ScrollPane that contains Button children?

In JavaFX, I have a ScrollPane which contains a TilePane which contains various Buttons. This application will run on a touch screen, so the user will scroll b