if (runCount == 1 || selectedRun == 1 || selectedRun == -1)
if (runCount == 1 || selectedRun == 0 || selectedRun == -1)
    protected void rotateTabRuns(int tabPlacement, int selectedRun)    {      if (runCount == 1 || selectedRun == 1 || selectedRun == -1)        return;      int[] newTabRuns = new int[tabRuns.length];      int currentRun = selectedRun;      int i = 1;      do        {          newTabRuns[i] = tabRuns[currentRun];          currentRun = getNextTabRun(currentRun);          i++;        }      while (i < runCount);      if (runCount > 1)        newTabRuns[0] = tabRuns[currentRun];      tabRuns = newTabRuns;      BasicTabbedPaneUI.this.selectedRun = 1;    }