File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes separator in textArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "separator in textArea" Watch "separator in textArea" New topic

separator in textArea

tanshu sharma

Joined: Mar 09, 2013
Posts: 4
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... me....

thanks in advance......
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10767

JTextArea does not support formatting. For formatted text, check out JTextPane

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Consider Paul's rocket mass heater.
subject: separator in textArea
It's not a secret anymore!