File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Tables and RTFEditorKit. Help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Tables and RTFEditorKit. Help!" Watch "Tables and RTFEditorKit. Help!" New topic

Tables and RTFEditorKit. Help!

Daniel Wintschel

Joined: Aug 13, 2001
Posts: 2
Hi all,
We have a team of people up here in Canada * know where that is? * that has managed to crash into a large brick wall while trying to figure out a way in which to make the RTFEditorKit support Tables.
At this point, we are not completely sure how to tackle this problem. Basically, I'd love some suggestions, or, if anyone has already done this in the past, we would be more than happy to pay for such a component.
Thanks for your time.

Everything works in Theory. But the guy at the gas station doesn't know where it is.
Sayuri Coppinger

Joined: Jun 06, 2001
Posts: 20
Have you tried creating a table cell renderer and table cell editor which returns an editor pane or text pane that uses the rtf editor kit? These two text components provide the getEditorKit and the setEditorKit methods. Thus, when set, the editor pane would effectively transform itself into an editor for the rtf text format.
PS. Let us know if this works
I agree. Here's the link:
subject: Tables and RTFEditorKit. Help!
It's not a secret anymore!