Tables

Reply

Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 7
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Tables

 
0
  #1
May 14th, 2005
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
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 763
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster

Re: Tables

 
0
  #2
May 16th, 2005
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC