Here you can find the source of getIntercellWidth(JTable table)
public static int getIntercellWidth(JTable table)
//package com.java2s; //License from project: Apache License import javax.swing.*; public class Main { public static int getIntercellWidth(JTable table) { return (int) table.getIntercellSpacing().getWidth(); }/* ww w .j a va 2 s .c om*/ }