944,110 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1575
  • Java RSS
May 14th, 2005
0

Tables

Expand Post »
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
Similar Threads
Reputation Points: 25
Solved Threads: 10
Practically a Master Poster
freesoft_2000 is offline Offline
623 posts
since Jun 2004
May 16th, 2005
0

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.
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Printing Embedded JComponents
Next Thread in Java Forum Timeline: AccessControlException (access denied)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC