Windows scaling
java.awt.Toolkit.getDefaultToolkit().getScreenResolution()
see API
Returns the screen resolution in dots-per-inch.
Assumen your 100% is 96pixel you're able to calculate your scaling factor.
java.awt.Toolkit.getDefaultToolkit().getScreenResolution()
see API
Returns the screen resolution in dots-per-inch.
Assumen your 100% is 96pixel you're able to calculate your scaling factor.