On Thu, 13 Jun 2024 12:54:57 GMT, Prasanta Sadhukhan <[email protected]> 
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..

This pull request has now been integrated.

Changeset: 5fe07b36
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/5fe07b36d9eb296661692d903ed0b9b5afefba0f
Stats:     138 lines in 3 files changed: 137 ins; 0 del; 1 mod

5021949: JSplitPane setEnabled(false) shouldn't be partially functional

Reviewed-by: abhiscxk, achung, aivanov

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

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

Reply via email to