Edit online

High Resolution Scaling Issues

Problem

I encounter scaling detection issues in a high resolution display (for example, some GUI components are too small).

Cause

This sometimes happens when using multiple displays with different resolutions because the application cannot detect the correct scaling setting.

Solution

You can use the sun.java2d.uiScale Java system property to instruct Java to use a particular scaling factor:
-Dsun.java2d.uiScale=1.5