> The issue is when a JSplitPane is embedded inside a lazily-initialized panel, > and this panel is displayed using a dialog created via > JOptionPane.createDialog(), the divider location is not preserved when > reopening the dialog. > This is because when we added support for ComponentOrientation for > JSplitPane, even though the left and right compoent is drawn the divider > location is not set and was set to initial value and not to the value set by > user. > Fixed by setting the divider location before rendering the left and right > components..
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: Store current orientation for check ------------- Changes: - all: https://git.openjdk.org/jdk/pull/25294/files - new: https://git.openjdk.org/jdk/pull/25294/files/32fe70f5..f721cedc Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=25294&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25294&range=03-04 Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/25294.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/25294/head:pull/25294 PR: https://git.openjdk.org/jdk/pull/25294