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

Alan Snyder javalists at cbfiddle.com
Thu Aug 28 13:49:44 UTC 2025


OOPS!

Sorry about that. Thanks for pointing it out.

> On Aug 27, 2025, at 9:10 PM, Chen Liang <chen.l.liang at oracle.com> wrote:
> 
> Hello Alan, I don't think core-libs-dev is the right list. You probably intend this mail for client-libs-dev instead.
> From: core-libs-dev <core-libs-dev-retn at openjdk.org <mailto:core-libs-dev-retn at openjdk.org>> on behalf of Alan Snyder <javalists at cbfiddle.com <mailto:javalists at cbfiddle.com>>
> Sent: Wednesday, August 27, 2025 8:09 PM
> To: core-libs-dev at openjdk.org <mailto:core-libs-dev at openjdk.org> <core-libs-dev at openjdk.org <mailto:core-libs-dev at openjdk.org>>
> Subject: (JDK-8365886) JSplitPane loses track of the left component when the component orientation is changed
>  
> > 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/client-libs-dev/attachments/20250828/40cdca62/attachment-0001.htm>


More information about the client-libs-dev mailing list