private void setFocusedByIndex(int i) {
    DateLabel label = labels[i];
    if (label.isVisible()) {
      int day = Integer.parseInt(label.getText());
      Calendar c = getCalendar(baseDate);
      c.set(Calendar.DAY_OF_MONTH, day);
      setFocusDate(c.getTime());
    }
  }
private void setFocusedByIndex(int i)