RFR: 8365886: JSplitPane loses track of the left component when the component orientation is changed [v3]

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Aug 26 09:44:35 UTC 2025


On Tue, 26 Aug 2025 09:33:44 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fire property change notification instead
>
> src/java.desktop/share/classes/javax/swing/JSplitPane.java line 390:
> 
>> 388:             } else {
>> 389:                 if (leftComponent != null) {
>> 390:                     this.leftComponent = rightComponent;
> 
> Suggestion:
> 
>                     this.leftComponent = leftComponent;
> 
> Is this by mistake ?

no

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26893#discussion_r2300430374


More information about the client-libs-dev mailing list