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

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Jun 14 03:52:56 UTC 2024


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

  L&F iteration

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19695/files
  - new: https://git.openjdk.org/jdk/pull/19695/files/0892b4b0..e8ac1bb0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19695&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19695&range=00-01

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

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


More information about the client-libs-dev mailing list