Duplicate :
|
|
Duplicate :
|
|
Relates :
|
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) ======================================================================
|