Lessee, really pushing the limits of my brain damage but I think that started in Java 9, may not have propagated to any other version and may even only be in the preview. Add
-Dsun.java2d.uiScale=2.0
to double it on the command line with a whole numbers like, "3.0", to triple it, has to be found before the UI is initialized. If you're writing it or have the source try
System.setProperty("sun.java2d.uiScale", "2.0");
before the party starts or ask google AI about either of those lines. I've probably got it all wrong.