Thin JPanel when used as TableCellRenderer

Hello,

I'm using JPanels as renderers for my single column JTable.

Even though im using FlowLayout( FlowLayout.LEFT ) and only adding JLabels, the height of each row is about 1.5 times that of a normal JTable row.

Is there anyway to slim it down? Decreasing the font or just using setRowHeight doesn't really work.

//John

[354 byte] By [mrlogitecha] at [2007-11-26 15:33:44]
# 1
By default a FlowLayout uses insets to position the components. Reset the insets to 0.
camickra at 2007-7-8 21:50:54 > top of Java-index,Desktop,Core GUI APIs...