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. src/java.desktop/macosx/classes/com/apple/laf/AquaButtonUI.java line 333: > 331: final Border border = b.getBorder(); > 332: if (border instanceof AquaButtonBorder) { > 333: ((AquaButtonBorder)border).paintButton(b, g, 0, 0, > b.getWidth(), b.getHeight()); Does having 0,0 not create a problem in multiscreen environment? ------------- PR: https://git.openjdk.java.net/jdk/pull/5082