wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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:
 
Similar Threads
calculator problem
aligning text in TextField
Applet to Applet communication
ScrollPane
about Textfield( simple isn't that)