Is there any method in how i can allign text in java being displayed in a textArea?
Thanks a lot.
I tried doing something like this, but altough its compiling, its displaying errors in executing.
Code:
Code:for( i = 0; i < names.length; i++) { String output = String.format("%10d", names[i]); textArea.append(output + "\n"); }


Reply With Quote


Bookmarks