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

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Oct 17 06:13:35 UTC 2022


> 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.

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Test fix

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9937/files
  - new: https://git.openjdk.org/jdk/pull/9937/files/ee0fd693..0e08608f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9937&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9937&range=02-03

  Stats: 9 lines in 1 file changed: 0 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/9937.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9937/head:pull/9937

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



More information about the client-libs-dev mailing list