@Override protected void beforeShow(){
  super.beforeShow();
  m_Current=m_Editor.getValue();
  if (m_Editor.getCustomEditor() instanceof GOEPanel)   m_Result=CANCEL_OPTION;
 else   m_Result=APPROVE_OPTION;
}

@ Override protected void beforeShow ( ) { super . beforeShow ( ) ; m_Current = m_Editor . getValue ( ) ; if ( m_Editor . getCustomEditor ( ) instanceof GOEPanel ) m_Result = CANCEL_OPTION ; else m_Result = APPROVE_OPTION ; }
hook method just before the dialog is made visible .
