View Single Post
Old 27-07-07, 03:36 PM   #2 (permalink)
live_wire
Member
 
live_wire's Avatar
 
Join Date: Feb 2007
Location: 255.255.255.255
Posts: 86
Thanks: 0
Thanked 6 Times in 6 Posts
Thanks: 0
Thanked 6 Times in 6 Posts
Rep Power: 3 live_wire will become famous soon enough live_wire will become famous soon enough
Re: How can I possibly right align a text using drawString method

To use alignments etc. you would have to use the LayoutManagers.

But you are using drawString() method which paints on the cordinates that are specified. All you are doing is painting to a screen, there is no alignment for painting...
live_wire is offline   Reply With Quote
The Following User Says Thank You to live_wire For This Useful Post:
ananthkolli (31-07-07)