<Swing Dev> RFR: 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked [v4]

Sergey Bylokhov serb at openjdk.java.net
Mon Aug 16 02:19:28 UTC 2021


On Fri, 13 Aug 2021 19:17:13 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:
> 
>   Remove getLookAndFeelDefaults() call

Can you please create of blend of two images, one for common focused button(with border) and another one w/o. Just to check that the border is drawn in the similar location and using similar "shape".

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

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


More information about the swing-dev mailing list