Alright, found that I can use font.getStringWidth(str). Problem solved, thanks.
Guy Kroizman Sofware Engineer Omer Industrial Park, Israel | Tel: +972 (0) 8 6262329 | Fax: +972 (0) 8 6262201 | Mobile: +972 (52) 8834115 www.ngsoft.com -----Original Message----- From: Guy Kroizman [mailto:[email protected]] Sent: Wednesday, July 11, 2012 4:47 PM To: [email protected] Subject: right align text Hi I need to align some text (actually numbers) to the right. I found the image in the following link that illustrate the issue: http://www.solutioninn.com/image/images4/99-B-A-F-A%20%28259%29.png What is the best way to do that? Thanks. Guy Kroizman

