<Swing Dev> [9] Review Request: 8029196 Focus border of JButton.buttonType=roundRect is cut off
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Tue Apr 1 11:46:00 UTC 2014
Hello.
Please review the fix for jdk 9.
JRS draws all component in specified bounds, but if a component is in
focus, the frame of focus can exceed the limit of the specified bounds.
The focusable components take this into account in the insets, but we
cut the focus anyway, because we create the buffer image in bounds size.
In the fix this image was increased by the focus size in each direction.
Bug: https://bugs.openjdk.java.net/browse/JDK-8029196
Webrev can be found at: http://cr.openjdk.java.net/~serb/8029196/webrev.00
--
Best regards, Sergey.
More information about the swing-dev
mailing list