int index = tabForCoordinate(tabPane, x, y); int selected = tabPane.getSelectedIndex(); if (selected == index) return selectColor;
  protected Color getColorForGap(int currentRun, int x, int y)  {    return tabAreaBackground;  }