Thank you very much for the advice. Looking up the SUN site for info about FontMetrics,I found an example that was doing exactly what I needed.
Again, thank you for your help.
I am new to the language. I have written an applet that displays a vertical scrolling text window. I want the text displayed to be centered. I use the drawString instruction to show the text which has multiple lines and I loop through. My problem is the centering of each line of text. I have to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.