On Wed, 11 Aug 2021 11:22:50 GMT, Alexander Zuev <kiz...@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.

The motif L&F is not supported for a while and is ready to remove, so that L&F 
behavior cannot be referenced as a proper way to work.

The focused button on macOS is highlighted by the "blue" rounded rectangle. 
There are two choices: draw this rectangle ourselves or request this feature 
from the JRS. But the change should not break the behavior of the 
"setBorderPainted(false)".

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

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

Reply via email to