I use Swing and would like to use the FileChooser by javafx.
My application I start as exe converted with Jar2Exe. The surface is scaled correctly according to the setting under Windows 10 for example 150%.
The use of FileChooser requires the initialization of a JFXPanel. The call immediately resets the scaling without errors. However, the display is now much too small for high-resolution displays.
The scaling is done already when I the command
Code:
PlatformImpl.startup (() -> {})
;. This is important for the initialization of the toolkit from javafx.
The problem happens exactly
Code:
com.sun.javafx.tk.Toolkit.getToolkit (). Startup (() -> {});
This is however native.
Is there a property, a flag, or other to reset or ignore.
I hope someone can help me I've already researched a lot on the Internet.
Dear Ladies and Gentlemen,
I use Swing and would like to use the FileChooser by javafx.
My application I start as exe converted with Jar2Exe. The surface is scaled correctly according to the setting under Windows 10 for example 150%.
The use of FileChooser requires the initialization of a JFXPanel. The call immediately resets the scaling without errors. However, the display is now much too small for high-resolution displays.
The scaling is done already when I the command
Code:
PlatformImpl.startup (() -> {})
;. This is important for the initialization of the toolkit from javafx.
The problem happens exactly
Code:
com.sun.javafx.tk.Toolkit.getToolkit (). Startup (() -> {});
This is however native.
Is there a property, a flag, or other to reset or ignore.
I hope someone can help me I've already researched a lot on the Internet.