RFR: 4265389: JSplitPane does not support ComponentOrientation [v6]

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Jul 22 07:23:33 UTC 2024


On Mon, 22 Jul 2024 07:19:26 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> There's a problem to it as ComponentOrientation can be LTR, RTL or UNKNOWN (ie orientation not set) so just checking for isLeftToRIght will not work as !LTR can be RTL or UNKNOWN so it will not work for the present scenario so I guess we need to use the present way only..
>
>>  just checking for isLeftToRIght will not work as !LTR can be RTL or UNKNOWN
> 
> Does that mean if orientation is UNKNOWN, it should be LTR by default ?

It does seem like it...

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20214#discussion_r1686081753


More information about the client-libs-dev mailing list