This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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: 11070
13
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