@Override
public boolean mouseClick(Component component, Mouse.Button button, int x, int y, int count) {
boolean consumed = super.mouseClick(component, button, x, y, count);
TableViewHeader tableViewHeader = (TableViewHeader)getComponent();
if (pressedHeaderIndex != -1
&& headersPressable) {
tableViewHeader.pressHeader(pressedHeaderIndex);
}
pressedHeaderIndex = -1;
return consumed;