private boolean removeColorPanel(){
  if (colorOverlay != null && colorOverlay.isShowing()) {
    colorOverlay.dispose();
    return true;
  }
  return false;
}

private boolean removeColorPanel ( ) { if ( colorOverlay != null && colorOverlay . isShowing ( ) ) { colorOverlay . dispose ( ) ; return true ; } return false ; }
tries to remove the color panel . if not found or not showing , does nothing .
