how to justify text
Posted on 2004-04-20
I have a problem... how to justify text using java. Actually i want to format
the text into left and right justify. For example (text below) :
The Java 2-D API counts among the most significant recent additions to the Java platform. The API makes it relatively easy for the programmer to treat hardware devices (including video displays and printers) as abstractions, and simplifies the process of conceiving, manipulating, and displaying geometric figures.
Now, I want the text to left and right justify format...then want to save this
text in file .txt. But, I don't know how to do it..I hope somebody will help me...