JBR-8112 Revert swing.bufferPerWindow back to false on Windows

This commit is contained in:
Nikita Gubarkov
2025-01-29 06:39:11 +01:00
committed by jbrbot
parent f5a0049902
commit a65275fb04

View File

@@ -78,9 +78,7 @@ public abstract class SunGraphicsEnvironment extends GraphicsEnvironment
(isWindows_8_1_orUpper() || FontUtilities.isLinux));
if (uiScaleEnabled && FontUtilities.isWindows) {
if (System.getProperty("swing.bufferPerWindow") == null) {
System.setProperty("swing.bufferPerWindow", "false"); // todo: until JRE-489 is fixed
}
System.setProperty("swing.bufferPerWindow", "false"); // todo: until JRE-489 is fixed
}
debugScale = uiScaleEnabled ? getScaleFactor("sun.java2d.uiScale") : -1;
}