protected void addNestedComponents() {

    peer.removeAll();
    peer.setLayout(new GridBagLayout());
    if ((peer.getStyle() & CalendarPane.STYLE_CLASSIC) > 0) {
      peer.add(classicPanel, new GridBagConstraints(0, 0, 2, 1, 1, 0,
          GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
          new Insets(0, 0, 0, 0), 0, 0));
    } else {
      peer.add(modernPanel, new GridBagConstraints(0, 0, 2, 1, 1, 0,
          GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
          new Insets(0, 0, 0, 0), 0, 0));
    }
    peer.add(headerPanel, new GridBagConstraints(1, 1, 1, 1, 1, 0,
        GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
        new Insets(0, 0, 0, 0), 0, 0));
    if (peer.isShowNumberOfWeek()) {
      peer.add(numberOfWeekPanel, new GridBagConstraints(0, 2, 1, 1, 0,
          1, GridBagConstraints.CENTER, GridBagConstraints.VERTICAL,
          new Insets(0, 0, 0, 0), 0, 0));
    }
    peer.add(gridPanel, new GridBagConstraints(1, 2, 1, 1, 1, 1,
        GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(
            0, 0, 0, 0), 0, 0));
    if (peer.isShowTodayButton()) {
      peer.add(auxPanel, new GridBagConstraints(0, 3, 2, 1, 1, 0,
          GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
          new Insets(0, 0, 0, 0), 0, 0));
    }
    if (peer.isShowNumberOfWeek()) {
      // TODO:
    }
    peer.revalidate();
    peer.repaint();

  }
protected void addNestedComponents()