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
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: 10825

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!]
I agree. Here's the link:
subject: separator in textArea
jQuery in Action, 3rd edition