bigmac
April 19th, 2001, 12:10 PM
Hi
Is it possible to keep the same distance between the first and last sign in a string even thought the size of the letters vary?
For instance:
g.drawString("string");
g.drawString("!!!!!!");
The width in pixels in my applet vary even though borth strings have the same amount of characters.
Does anyone understand what I'm trying to say? :)
Is it possible to keep the same distance between the first and last sign in a string even thought the size of the letters vary?
For instance:
g.drawString("string");
g.drawString("!!!!!!");
The width in pixels in my applet vary even though borth strings have the same amount of characters.
Does anyone understand what I'm trying to say? :)