public void handleHeaderColumnReleased(Point p){
  TABLE.setPressedColumnIndex(-1);
  JTableHeader th=TABLE.getTableHeader();
  int col=th.columnAtPoint(p);
  if (col != -1)   th.repaint(th.getHeaderRect(col));
}

public void handleHeaderColumnReleased ( Point p ) { TABLE . setPressedColumnIndex ( - 1 ) ; JTableHeader th = TABLE . getTableHeader ( ) ; int col = th . columnAtPoint ( p ) ; if ( col != - 1 ) th . repaint ( th . getHeaderRect ( col ) ) ; }
tell the table something is not pressed .
