Integrated: 7175397: The divider color is not changed to green when dragging for Nimbus LaF.

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Oct 18 14:09:12 UTC 2022


On Fri, 19 Aug 2022 07:40:13 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> SplitPaneDivider.draggingColor UIProperty was not honoured in Nimbus L&F. 
> Added support for setting SplitPane dragging color for Nimbus L&F by drawing a fillRect of the set color as done in BasicLookAndFeel.
> The fix relies on `continuousLayout` property being false by default which is enabled for Nimbus, which is set to default false now, same as in other L&F. I think it was set true just to have documented default value in JDK-6937415
> 
> closed test mentioned in JBS is used for fix check.
> All jtreg swing tests are ok along with SwingSet2 JSplitPane demo in Nimbus L&F.

This pull request has now been integrated.

Changeset: 78fed9d3
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/78fed9d3074ecfde5dfcd31f433ba104ad059d21
Stats:     116 lines in 2 files changed: 116 ins; 0 del; 0 mod

7175397: The divider color is not changed to green when dragging for Nimbus LaF.

Reviewed-by: jdv

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

PR: https://git.openjdk.org/jdk/pull/9937



More information about the client-libs-dev mailing list