RFR: 8190264: JScrollBar ignores its border when using macOS Mac OS X Aqua look and feel [v7]

Alexey Ivanov aivanov at openjdk.java.net
Mon Dec 6 22:27:23 UTC 2021


On Thu, 2 Dec 2021 19:57:54 GMT, Alisen Chung <achung at openjdk.org> wrote:

>> Adjusted the AquaLF scrollbar to account for border inset settings when dragging the thumb and clicking on the track.
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   removed robot mouse moves, use pixel colors to check

test/jdk/java/awt/Scrollbar/AquaLFScrollbarTest/ScrollBarBorderTest.java line 89:

> 87:     public static void main(String[] args) {
> 88:         ScrollBarBorderTest borderTest = new ScrollBarBorderTest();
> 89:         borderTest.createAndShowGUI();

You're using Swing which is not thread-safe. You should create and access Swing components from the Event Dispatch Thread only.

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

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



More information about the client-libs-dev mailing list