public static String toToolTipText(Color c){
  if (formatter == null) {
    formatter=new ColorToolTipTextFormatter();
  }
  try {
    return formatter.valueToString(c);
  }
 catch (  ParseException ex) {
    InternalError error=new InternalError("Unable to generate tool tip text from color " + c);
    error.initCause(ex);
    throw error;
  }
}

public static String toToolTipText ( Color c ) { if ( formatter == null ) { formatter = new ColorToolTipTextFormatter ( ) ; } try { return formatter . valueToString ( c ) ; } catch ( ParseException ex ) { InternalError error = new InternalError ( "Unable to generate tool tip text from color " + c ) ; error . initCause ( ex ) ; throw error ; } }
returns a tool tip text for the specified color with information in the color space of the color .
