• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RTF Editor written in java

 
manish basotia
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am searching for an Texteditor written in java using JDK1.3 .
Pleae Let me know the link, if any one has come in contact with such kind of editor. I want the source code too for Study purpose.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JEditorPane supports RTF documents... basically all you'd have to do is create a JFrame, a JScrollPane, and a JEditorPane. Add the JEditorPane to the JScrollPane, add the JScrollPane to the JFrame, and call setPage() on the JEditorPane with a RTF file. This would be a really simple RTF editor.

I've heard that there are some problems with the default RTFEditorKit that JEditorPane uses, but it all depends on how complex you need your RTF editor to be...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic