|
Could you give an example of how you want the text aligned?
Basically, get the String into the applet.
Break the string up into sections
Then it depends on the type of alignment: LEFT, RIGHT or CENTER
Then it depends on where you are displaying the sections:
In a Panel by using drawString(), in a TextArea or ???
Figure out the above and come back with some more details.
|