>>> you can do JTextArea.setText( doc1.getText() + doc2.getText() );

I can't. I'm working with styled text(JTextPane + DefaultStyledDocument). 
If I use getText() method, I'll only have plain text.






[EMAIL PROTECTED] on 12/04/2001 19:34:48
To:     Jerome Douillard/LME/PCC/PHILIPS@EMEA1
cc:     [EMAIL PROTECTED]@SMTP 
Subject:        RE: DefaultStyledDocument concatenation ????
Classification: 


 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

Reply via email to