RFR: 5021949: JSplitPane setEnabled(false) shouldn't be partially functional [v5]

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Jun 26 10:40:47 UTC 2024


On Wed, 26 Jun 2024 09:00:28 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Issue is seen in that if we call setEnabled(false) over JSplitPane than it can't be dragged via its divider, But if SplitPane have one touch expandable true than user can click those buttons and change the divider position. 
>> So, if splitpane is disabled, then both dragging in divider and one-touch-expandable click should be disabled.
>> Fix is made to override setEnabled and disable one-touch-expandable buttons actions..
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Test update

I guess modified PR will solve the problem you reported...

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

PR Comment: https://git.openjdk.org/jdk/pull/19695#issuecomment-2191370461


More information about the client-libs-dev mailing list