ControlPanel() {
    setBounds(0, 0, 150, 250);
    setLayout(null);

    CreateButtons = new CreatePokemonButton[CreateButtonSize];
    for (int i = 0; i < CreateButtonSize; ++i) {
      CreateButtons[i] = new CreatePokemonButton("res/Creation/"
          + ((Integer) (11 + i)).toString() + ".png", "res/Creation/"
          + ((Integer) (11 + i)).toString() + ".png");
      CreateButtons[i].setBounds(13, 8 + MainFrame.ButtonSize * i,
          MainFrame.ButtonSize, MainFrame.ButtonSize);
      CreateButtons[i].addActionListener(new CreationListener(i));
      add(CreateButtons[i]);
    }

    addMeoMeo = new TowerDefense_Button("res/meomeo.png", "res/meomeo.png");
    upgradeMeoMeo = new TowerDefense_Button("res/upgrade.png",
        "res/upgrade.png");

    addMeoMeo.setBounds(57, 5, MainFrame.ButtonSize, MainFrame.ButtonSize);
    upgradeMeoMeo.setBounds(57, 50, MainFrame.ButtonSize, MainFrame.ButtonSize);

    addMeoMeo.addActionListener(new addMeoMeoListener());
    upgradeMeoMeo.addActionListener(new upgradeMeoMeoListener());

    add(addMeoMeo);
    add(upgradeMeoMeo);

    TowerDefense_Button SwitchButton = new TowerDefense_Button(
        "res/switch.png", "res/switch.png");
    SwitchButton.setBounds(60, 207, MainFrame.ButtonSize, MainFrame.ButtonSize);
    SwitchButton.addActionListener(new ActionListener() {

      public void actionPerformed(ActionEvent e) {
        cb.setChangeViewRequest(true);
      }

    });
    add(SwitchButton);

    SendButtons = new TowerDefense_Button[SendButtonSize];
    for (int i = 0; i < CreateButtonSize; ++i) {
      SendButtons[i] = new TowerDefense_Button("res/Send/"
          + ((Integer) (51 + i)).toString() + ".png", "res/Send/"
          + ((Integer) (51 + i)).toString() + ".png");
      SendButtons[i].setBounds(105, 8 + MainFrame.ButtonSize * i,
          MainFrame.ButtonSize, MainFrame.ButtonSize);
      SendButtons[i].addActionListener(new SendListener(i));
      add(SendButtons[i]);
    }
  }