RFR: 8190264: JScrollBar ignores its border when using macOS Mac OS X Aqua look and feel [v10]
Sergey Bylokhov
serb at openjdk.java.net
Wed Dec 15 01:49:09 UTC 2021
On Wed, 8 Dec 2021 20:52:42 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 todo comment
test/jdk/java/awt/Scrollbar/AquaLFScrollbarTest/ScrollBarBorderTest.java line 40:
> 38: * @run main ScrollBarBorderTest
> 39: */
> 40: public class ScrollBarBorderTest {
The test does not have a platform limitation, does it mean it works fine and can catch similar bugs for other L&Fs? If yes it would be useful to iterate all installed L&F. You can take a look an example in the ButtonGroupLayoutTraversalTest test.
test/jdk/java/awt/Scrollbar/AquaLFScrollbarTest/ScrollBarBorderTest.java line 140:
> 138: }
> 139: }
> 140: }
A newline at the end of the file should be added.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6374
More information about the client-libs-dev
mailing list