wood burning stoves*
The moose likes Beginning Java and the fly likes Help to align Right :eek: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Help to align Right :eek:" Watch "Help to align Right :eek:" New topic
Author

Help to align Right :eek:

hariharan
Greenhorn

Joined: May 23, 2000
Posts: 4
Hi,
I have an applet and I added a TextField in my applet.
Whatever i type in textfield it starts from left side of TextArea, Is there any function to align right.
Srinivas P
Greenhorn

Joined: Jun 14, 2000
Posts: 1
Hi,
I do not know about TextField, but with JTextField U can right align the text as below
jtextfield.setHorizontalAlignment(JTextField.RIGHT);
Srini.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help to align Right :eek: