aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes RTF Editor written in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "RTF Editor written in java" Watch "RTF Editor written in java" New topic
Author

RTF Editor written in java

manish basotia
Ranch Hand

Joined: Jan 12, 2004
Posts: 47
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

Joined: Oct 18, 2000
Posts: 4121

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...


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RTF Editor written in java