-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0, 1.3.0
-
generic
-
generic
Name: clC74495 Date: 04/13/99
Please add a member variable "DEFAULT" to ComponentOrientation
(ComponentOrientation.DEFAULT). DEFAULT should be interpreted at
runtime to RIGHT_TO_LEFT or LEFT_TO_RIGHT based on the orientation
of component's parent. If the component has no parent, DEFAULT
should be interpreted based on the locale, i.e it should be
interpreted to RIGHT_TO_LEFT if the locale is Arabic or Hebrew
and LEFT_TO_RIGHT otherwise.
This is very important because it makes BIDI support completely
transparent for Swing developers. If the developer builds his
application using only Swing components, all components will
appear in RIGHT_TO_LEFT mode for Arabic and Hebrew locale and
LEFT_TO_RIGHT otherwise, without requiring him to do any special
coding to support BIDI.
(Review ID: 56872)
======================================================================
- duplicates
-
JDK-4300549 Each component should have a DEFAULT orientation parameter for use in BiDi progr
- Closed
-
JDK-4337186 RFE: ComponentOrientation management
- Open
- relates to
-
JDK-4300548 Components need to follow Their container direction in BIDI programs
- Closed