Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display multi-lines in JTable  RSS feed

 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like this
------------
a | b
-------------
c | d
c | d
-------------

I'm not sure if there are some components like this have created yet. If can't find one. What should do to implement this? Relace the table cell render and editor to JTextArea?

Why I need this is because if the content in a cell is too long, the information will be cut off.

Thank you in advance.
[ June 21, 2006: Message edited by: Loius Wan ]
 
Michael Dunn
Ranch Hand
Posts: 4632
 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. I've found a better one.


http://www.roseindia.net/javatutorials/JTable_in_JDK.shtml

[ June 22, 2006: Message edited by: Loius Wan ]
[ June 26, 2006: Message edited by: Loius Wan ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!