 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
kelvinq Guest
|
Posted: Fri Oct 03, 2003 4:36 am Post subject: RTFf how to do the simplest thing? |
|
|
using JB9
I can read a rtf file into an RTFEditor kit OK and it shows on the
screen.
I dont have any idea how to do the simplest thing, like remove all the
displayed text.
RTFEditor seems to have no methods, just "action classes" and
"strings".
So how do I do get the program to do something like go to the top of
the file, delete all the text??
Do I have to write an action listener, then get the program to fire
off an event? Can I not just issue a command?
the JEditorpane has a method removeAll() but it doesnt do anything
Borland has no examples that I can find. Their docs sort of apologise
for the RTF, as if to say "hey, we didnt write it"
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|