int nextRun = (forward) ? getNextTabRun(currRun) : getPreviousTabRun(currRun);
int nextRun = forward ? getNextTabRun(currRun) : getPreviousTabRun(currRun);
  protected int getTabRunOffset(int tabPlacement, int tabCount, int tabIndex,                                boolean forward)  {    int currRun = getRunForTab(tabCount, tabIndex);    int offset;    int nextRun = (forward) ? getNextTabRun(currRun) : getPreviousTabRun(currRun);    if (tabPlacement == SwingConstants.TOP        || tabPlacement == SwingConstants.BOTTOM)      offset = rects[lastTabInRun(tabCount, nextRun)].y               - rects[lastTabInRun(tabCount, currRun)].y;    else      offset = rects[lastTabInRun(tabCount, nextRun)].x               - rects[lastTabInRun(tabCount, currRun)].x;    return offset;  }