JTable Columns
1 posts in topic
Flat View  Flat View

Posted By:   Jason_Rosenblum
Posted On:   Sunday, April 7, 2002 06:49 PM

Is there a way to force a JTable to display the entire contents of a column label?

Re: JTable Columns

Posted By:   Anonymous  
Posted On:   Tuesday, April 9, 2002 10:43 PM


If you wish, you can add setToolTipText() to the TableHeaderCellRenderer. Then the tooltip text can display the full header.

Or you can control the column width in the TableColumn.setPreferredWidth();

Or modify the TableHeaderCellRenderer to provide wrapping to the table header.

These are just a few ways you could accomplish full display of the column header.

About | Sitemap | Contact