private void addListeners(){
  for (  JButton colorButton : colorButtons) {
    colorButton.addActionListener(this);
  }
  addColor.addActionListener(this);
  removeColor.addActionListener(this);
}

private void addListeners ( ) { for ( JButton colorButton : colorButtons ) { colorButton . addActionListener ( this ) ; } addColor . addActionListener ( this ) ; removeColor . addActionListener ( this ) ; }
add this skinspeceditor as a listener to all components .
