Tables
Hi everyone,
I have a JTextPane and i am trying to insert tables into the JTextPane. I am using the default rtf editor kit together with styled document.
I don't want to use the insert component to simply insert a JTable as if i do that then removing columns and rows becomes almost impossible
Basically i need a way to insert tables into the styled document of the JTextPane something like Microsoft word.
I hope someone can help me with this
Some example codes would be helpful
Thank You
Yours Sincerely
Richard West
freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10
I don't believe you can insert a JTable object into a textPane like that. I could be wrong, but I've never tried to use tables like that.
Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51