If you run the small sample below you\'ll see a border around the center region. I\'m not sure why this border is showing.
It happens when a JTable is in a JScrollPane.
To remove the border from all parts of the JScrollPane including the vertical and horizontal bar the following code works
JScrollPane jsp = new JScrollPane(); jsp.getVerticalScrollBar().setBorder(null); jsp.getHorizontalScrollBar().setBorder(null); jsp.setBorder(null);