On Tue, 31 Oct 2023 15:07:32 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
> > I think it is expected to retain RTL in this case.. > > Ok, INHERIT is not supported, but why do you expect RTL? Shouldn't it go back > to UNKNOWN and therefore LTR? > > ``` > public static final > [ComponentOrientation](https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/ComponentOrientation.html) > UNKNOWN > > ... To preserve the behavior of existing applications, isLeftToRight will > return true for this value. > ``` I expect RTL because INHERIT is unsupported so it will retain the existing orientation(which is RTL in this case 2. change JFrame.componentOrientation to RTL) which is what I thought.. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1271#issuecomment-1787465111