Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Android Security Essentials Live Lessons this week in the Android 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.
I agree. Here's the link:
subject: JTextPane
Similar Threads
how to append a part of text of one JTextPane to another JTextPane.
setting focus on the appended text in JTextArea
Change color of a particular text in JTextPane.
css in JTextPane using swing1.1
how to add image to Jtextarea