[OpenJDK 2D-Dev] RFR: 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked [v6]

Sergey Bylokhov serb at openjdk.java.net
Tue Aug 17 20:02:25 UTC 2021


On Tue, 17 Aug 2021 06:09:51 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

>> Initial implementation and a test case.
>> 
>> The problem is that Aqua LaF shows the focused component with the glow on the border, hence when the border is not painted the foxus is not displayed. The idea is to paint the glowing border on the focused component anyways.
>
> Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Restore Graphics color before leaving paintFocus()

Marked as reviewed by serb (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/5082


More information about the 2d-dev mailing list