you can do JTextArea.setText( doc1.getText() + doc2.getText() );
Thanks and Regards,
Gary Grewal
-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 4/12/01 11:50 AM
Subject: DefaultStyledDocument concatenation ????
Hi,
I have got two different documents, each one extending
DefaultStyledDocument.
I need to display, in my JTextPane, the concatenation of these documents
Do you know how to do that?
Thanks
Jérôme DOUILLARD
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing