File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "separator in textArea" Watch "separator in textArea" New topic
Author

separator in textArea

tanshu sharma
Greenhorn

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...

please..help me....

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

Joined: Jul 26, 2007
Posts: 10733
    
    9

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!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: separator in textArea
 
It's not a secret anymore!