Problem
The problem with the above code is that it interacts with the Swing class before the property is "sun.java2d.opengl"set to "true". Customizing the look is already considered such an interaction.
Problem check
, "sun.java2d.opengl" "true" "true". Java2D Properties Guide, , Java , OpenGL:
OpenGL pipeline enabled for default config on screen 0
, "true", . , OpenGL .
, .
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
System.setProperty("sun.java2d.opengl", "true");
System.setProperty("sun.java2d.opengl", "True");
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
, , , OpenGL .