|
Java™ by example!
|
|
|
How can I set change the orientation of a JTextField, eg. right to left?
You can use the method setComponentOrientation defined in the Component class, so you can invoke it on most Swing components. It does not seem to work properly using JDK1.2, but does with JDK1.3.
For international applications, you can determine the orientation using the Locale:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|