I\'m trying to hide the grid lines of a JTable but with no results. Even trying to change the color of the grid lines does not work. Here is my code:
//
you have to set two thingies
In code:
table.setShowGrid(false); table.setIntercellSpacing(new Dimension(0, 0));
Or use JXTable (from the SwingX project) which does it for you:
xTable.setShowGrid(false, false);