<Swing Dev> RFR: 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked [v2]
Alexander Zuev
kizune at openjdk.java.net
Fri Aug 13 06:06:49 UTC 2021
> 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:
Changed to only paing focus ring without the entire border painting
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5082/files
- new: https://git.openjdk.java.net/jdk/pull/5082/files/d4b21edc..bda91782
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5082&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5082&range=00-01
Stats: 9 lines in 1 file changed: 6 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/5082.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5082/head:pull/5082
PR: https://git.openjdk.java.net/jdk/pull/5082
More information about the swing-dev
mailing list