DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   Tables (http://www.daniweb.com/forums/thread23534.html)

freesoft_2000 May 14th, 2005 10:02 am
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

Phaelax May 16th, 2005 2:21 pm
Re: Tables
 
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.


All times are GMT -4. The time now is 11:30 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC