public void setModel(SupaplexModel model) {
   this.model = model;
   list.setModel(model);
   levelComponent.setModel(model);
   palette.setModel(model);
   model.addListener(new SML());
 }
 public JPanel createPanel() {
   panel = new JPanel();
   panel.setLayout(new BorderLayout());
   panel.add(list.createPanel(), BorderLayout.WEST);
   list.list.addListSelectionListener(new LSL());
   panel.add(createLevelPanel(), BorderLayout.CENTER);
   return panel;
 }