
Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
On Fri, 13 Jan 2006 02:04:16 GMT, Roedy Green
<my_email_is_posted_on_my_website@munged.invalid> wrote, quoted or
indirectly quoted someone who said :
>Every time I have used JTables all cells were the same height in the
>table. Is that always true? Can some rows be taller than others?
Turns you can change the row height of each row individually from the
default 16 pixels. JTable.setRowHeight. Of course you can change
column widths too with TableColumn.setColumnWidth.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Thomas Hawtin - 13 Jan 2006 08:19 GMT
> On Fri, 13 Jan 2006 02:04:16 GMT, Roedy Green
> <my_email_is_posted_on_my_website@munged.invalid> wrote, quoted or
[quoted text clipped - 6 lines]
> default 16 pixels. JTable.setRowHeight. Of course you can change
> column widths too with TableColumn.setColumnWidth.
For JList, setFixedCellHeight(-1) will make it take cell height from the
ListCellRenderer (the default). With JTable it's tough. Unless you want
to try something peculiar, like using a JTable as a JList cell renderer.
Tom Hawtin

Signature
Unemployed English Java programmer
http://jroller.com/page/tackline/