JTable spacing

I have a rather specific requirement from a JTable.

I need to either put a different margin between certain columns and certain rows.

Or I need to set those columns and rows with a different border type on a certain side

How could i do this using a JTable

Thanks a lot in advance

[310 byte] By [vamegaa] at [2007-11-27 1:13:24]
# 1
for the first problem: getColumn().setMinWidth() oppure getColumn().setMaxWidth() For the second case you need to implement a TableCellRenderer where you set the border of the cell in respect to the value in it. Search in the forum, you will find lots of examples on this matter
albertthea at 2007-7-11 23:48:46 > top of Java-index,Desktop,Core GUI APIs...