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

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Oct 17 06:11:19 UTC 2022


On Tue, 27 Sep 2022 20:34:54 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Revert default value
>
> src/java.desktop/share/classes/javax/swing/plaf/synth/SynthSplitPaneUI.java line 281:
> 
>> 279:                         g.fillRect(0, 0, size.width - 1, dividerSize - 1);
>> 280:                     }
>> 281:                 }
> 
> This piece of code is basically same as the code in `finishedPaintingChildren`. Can the duplication be eliminated by introducing a helper method?

helper method added

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

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



More information about the client-libs-dev mailing list