public Color showColorChooser(){
  JColorChooser colorChooser=new JColorChooser();
  Color theColor=JColorChooser.showDialog(this,"Choose Color",colorIndicator.getBackground());
  colorChooser.setLocation(200,200);
  return theColor;
}

public Color showColorChooser ( ) { JColorChooser colorChooser = new JColorChooser ( ) ; Color theColor = JColorChooser . showDialog ( this , "Choose Color" , colorIndicator . getBackground ( ) ) ; colorChooser . setLocation ( 200 , 200 ) ; return theColor ; }
show the color palette and get a color .
