addMouseListener(new MouseAdapter() {
this.addMouseListener(new MouseAdapter() {
      public NomLabel(String name, int id) {	super(name);	m_index = id;	addMouseListener(new MouseAdapter() {	    public void mouseClicked(MouseEvent e) {	      	      if ((e.getModifiers() & e.BUTTON1_MASK) == e.BUTTON1_MASK) {		Color tmp = JColorChooser.showDialog		  (VisualizePanel.this, "Select new Color", 		   (Color)m_colorList.elementAt(m_index));				if (tmp != null) {		  m_colorList.setElementAt(tmp, m_index);		  m_attrib.repaint();		  m_plot.repaint();		  m_oldWidth = -9000;		  m_classPanel.repaint();		}	      }	    }	  });      }