public void changedUpdate(DocumentEvent e){
  m_ApplyButton.setEnabled(isValidFormat());
}

public void changedUpdate ( DocumentEvent e ) { m_ApplyButton . setEnabled ( isValidFormat ( ) ) ; }
gives notification that an attribute or set of attributes changed .
