A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: Apr 02, 2004
May 10, 2004 02:16:00
Does anyone know if it is possible to get
to wordwrap and display multiple lines of text within a singel cell?
Joined: Mar 18, 2003
May 11, 2004 01:15:00
If you are using the standard cell renderer it extends
which understands html. You can wrap your text between <html> and </html> tags and word wrap will be taken care of for you.
The nice thing about Standards is that there are so many to choose from!
I agree. Here's the link:
Multi line cells in Jtable
Selecting multiple unconnected cells in a JTable
JTable with a multiple rows in a singel cell
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015