[OpenJDK 2D-Dev] RFR: 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked [v6]
kizune at openjdk.java.net
Tue Aug 17 06:09:51 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 Graphics color before leaving paintFocus()
- all: https://git.openjdk.java.net/jdk/pull/5082/files
- new: https://git.openjdk.java.net/jdk/pull/5082/files/87ab3e3a..3b81c977
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5082&range=05
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5082&range=04-05
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5082/head:pull/5082
More information about the 2d-dev