I want to print Strings in JTextArea and align them properly. Its hard to explain so I will upload the screen shot of what I am trying to achieve.
You may use HTML with swing component or use JEditorPane.
JLabel jt=new JLabel(); jt.setText(" NoName 1Mr.A");