componentOrientation

Sets componentOrientation - the component's left-to-right / right-to-left orientation.

Sets the orientation on this component only; it does not propagate to children. To apply it recursively, use Swing's Component.applyComponentOrientation on the tree.

Return

this chain with the orientation declared on it.

Parameters

orientation

which side an orientation-sensitive layout manager starts its leading positions from. A component starts at ComponentOrientation.UNKNOWN, which reads as left-to-right while recording that nothing was chosen; ComponentOrientation.getOrientation(locale) derives one from a locale.

See also