how to write a text in vertical direction. or is there any method to specify the font direction?
posted 15 years ago
Hi, If you want to Write a text in vertical direction you got to use the FontMetrics class. The following are the things that you should do ... First get the fontmetrics and then get the font height.... whenever you draw usind drawString(str,x,y)...increment the 'y' position according to the font height... bye, ram.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads