Add support for rounded corners. This is not mandatory but it will the default. To turn it off the user can do any of the following:
To turn it off globally w/o changing code, pass in the system property -Dsubstancelaf.windowRoundedCorners=False. This will cause all windows to be squared and will cause all other configurations to be ignored. This may be needed to prevent artifacts on older hardware and stuff like Windows 7 Basic mode. The default is true if not specified.
To change the default for subsequent windows, add to the UIManager a value for windowRoundedCorners.
Add support for rounded corners. This is not mandatory but it will the default. To turn it off the user can do any of the following:
To turn it off globally w/o changing code, pass in the system property
-Dsubstancelaf.windowRoundedCorners=False
. This will cause all windows to be squared and will cause all other configurations to be ignored. This may be needed to prevent artifacts on older hardware and stuff like Windows 7 Basic mode. The default istrue
if not specified.To change the default for subsequent windows, add to the UIManager a value for
windowRoundedCorners
.To change the value per window, add a client property before first showing the window
This applies to JFrame, JDialog, and JInternalFrame (and subclasses)