CommandPanel(Commande c) {
    super(new BorderLayout());
    commande = c;
    commande.addActionEventListener(this);

    JPanel text = new JPanel();
    text.addMouseListener(this);
    text.add(new JLabel(commande.getName()));
    add(text, BorderLayout.PAGE_START);

    itemList = new JPanel(new GridBagLayout());
    itemList.addMouseListener(this);
    itemList.setBackground(Color.WHITE);

    JScrollPane pane = new JScrollPane(itemList);
    pane.setPreferredSize(new Dimension(95, 100));
    add(pane, BorderLayout.CENTER);
    drawItems();
  }