(JDK-8365886) JSplitPane loses track of the left component when the component orientation is changed

Alan Snyder javalists at cbfiddle.com
Thu Aug 28 01:09:22 UTC 2025


> firePropertyChange(ORIENTATION_PROPERTY, curOrn, orientation);

This change is simply wrong. ORIENTATION_PROPERTY refers to horizontal or vertical.

Is there some reason why you don’t want to call

layoutManager.updateComponents();

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250827/44d5c0e0/attachment.htm>


More information about the core-libs-dev mailing list