[OpenJDK 2D-Dev] Integrated: 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked

Alexander Zuev kizune at openjdk.java.net
Wed Aug 18 05:52:36 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.

This pull request has now been integrated.

Changeset: 481c1f05
Author:    Alexander Zuev <kizune at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/481c1f0549e361e8e83fcf0530acc4ebdb60104b
Stats:     121 lines in 2 files changed: 120 ins; 0 del; 1 mod

8269951: [macos] Focus not painted in JButton when  setBorderPainted(false) is invoked

Reviewed-by: serb, psadhukhan

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

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


More information about the 2d-dev mailing list