protected void closingOK(){
  StringBuffer buff=new StringBuffer();
  for (int i=0; i < m_listModel.size(); i++) {
    SubstringReplacerRules.SubstringReplacerMatchRule mr=(SubstringReplacerRules.SubstringReplacerMatchRule)m_listModel.elementAt(i);
    buff.append(mr.toStringInternal());
    if (i < m_listModel.size() - 1) {
      buff.append("@@match-replace@@");
    }
  }
  m_replacer.setMatchReplaceDetails(buff.toString());
  if (m_modifyL != null) {
    m_modifyL.setModifiedStatus(SubstringReplacerCustomizer.this,true);
  }
}

protected void closingOK ( ) { StringBuffer buff = new StringBuffer ( ) ; for ( int i = 0 ; i < m_listModel . size ( ) ; i ++ ) { SubstringReplacerRules . SubstringReplacerMatchRule mr = ( SubstringReplacerRules . SubstringReplacerMatchRule ) m_listModel . elementAt ( i ) ; buff . append ( mr . toStringInternal ( ) ) ; if ( i < m_listModel . size ( ) - 1 ) { buff . append ( "@@match-replace@@" ) ; } } m_replacer . setMatchReplaceDetails ( buff . toString ( ) ) ; if ( m_modifyL != null ) { m_modifyL . setModifiedStatus ( SubstringReplacerCustomizer . this , true ) ; } }
handle a closing event under an ok condition
