RFR: 8336873: BasicSplitPaneDivider:oneTouchExpandableChanged() should mention that implementation depends on SplitPane.supportsOneTouchButtons property [v2]

Phil Race prr at openjdk.org
Mon Jul 29 17:54:35 UTC 2024


On Mon, 29 Jul 2024 07:10:47 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java line 399:
>> 
>>> 397:      * divider is contained in changes.
>>> 398:      * If a particular L&F supports SplitPane.supportsOneTocuhButtons property
>>> 399:      * it will create the
>> 
>> Tocuh ?
>
> DId you want "touch" instead of "create"?
> I guess it should be "create" as the code does```
> 
> /* Create the left button and add an action listener to
> expand/collapse it. */
> leftButton = createLeftOneTouchButton();

I was pointing out a spelling mistake. Nothing more.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20289#discussion_r1695640642


More information about the client-libs-dev mailing list