@Override
      public void actionPerformed(ActionEvent e) {
        Integer item = (Integer)myTypeChooser.getSelectedItem();
        if (item != null) {
          myModel.setType(item);
          changePanel();
        }
      }
@Override
      public void actionPerformed(ActionEvent e)