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

Sergey Bylokhov serb at openjdk.java.net
Thu Aug 12 18:47:25 UTC 2021


On Wed, 11 Aug 2021 11:22:50 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.

BTW this issue was known for a long time, and even the spec was updated specifically for it:
https://bugs.openjdk.java.net/browse/JDK-4416026

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

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


More information about the swing-dev mailing list