JBTable: disabling inter-cell spacing for striped tables

This commit is contained in:
Anton Makeev
2012-08-06 10:51:18 +02:00
parent 472ba62bba
commit 92fa76ae1f
@@ -392,6 +392,7 @@ public class JBTable extends JTable implements ComponentWithEmptyText, Component
myStriped = striped;
if (striped) {
getColumnModel().setColumnMargin(0);
setIntercellSpacing(new Dimension(getIntercellSpacing().width, 0));
setShowGrid(false);
}
}