Using RTFEditorKit

R

Ranjith

Hello,
Can anybody say me how to use RTFEditorKit to make a
word document and change the font of that texts writing to it
 
R

Roedy Green

Hello,
Can anybody say me how to use RTFEditorKit to make a
word document and change the font of that texts writing to it

the trick is you create a Document, then hook it up with setDocument,
and do your edits on the Document.

Start with http://mindprod.com/jgloss/jtextpane.html, and play around
generating some HTML. Once you get the general hang of it, flip over
to RTF.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top