protected boolean isValidFormat(){
  boolean result;
  result=false;
  try {
    new SimpleDateFormat(m_FormatText.getText());
    result=true;
  }
 catch (  Exception e) {
  }
  return result;
}

protected boolean isValidFormat ( ) { boolean result ; result = false ; try { new SimpleDateFormat ( m_FormatText . getText ( ) ) ; result = true ; } catch ( Exception e ) { } return result ; }
returns true if the current format is a valid format
