Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

separator in textArea

 
tanshu sharma
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guyz..m new to Swing..
I am trying to make chat application in java using netbeans....
i wanaa to add a separator in textArea after each message like Facebook...but i am not getting how to do it...

please..help me....

thanks in advance......
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JTextArea does not support formatting. For formatted text, check out JTextPane
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic