<Swing Dev> RFR: 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked [v5]
Alexander Zuev
kizune at openjdk.java.net
Mon Aug 16 19:49:56 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:
Restore Graphics2D rendering state so we do not interfere with next stages of button painting.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5082/files
- new: https://git.openjdk.java.net/jdk/pull/5082/files/df34ab0b..87ab3e3a
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5082&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5082&range=03-04
Stats: 15 lines in 1 file changed: 13 ins; 0 del; 2 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