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 JTextPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextPane" Watch "JTextPane" New topic


Madhavi Tolety

Joined: Feb 19, 2003
Posts: 1
Can anyone help me with a simple way to replace some part of the text in an uneditable JTextPane with another text.
Trung Tran

Joined: Jun 28, 2002
Posts: 13
hi i have just tested this and may be it help you.


I hear and I forget;<br />I see and I remember;<br />I do and I understand.
jQuery in Action, 3rd edition
subject: JTextPane
It's not a secret anymore!