public void reset(){
  disconnect();
  Properties rp=new Properties();
  rp.setProperty(COMMAND_FIELD,CLEAR);
  distributeEvent(rp);
  if (serverPanel != null) {
    viewChoice.removeAll();
    connectedStatus.setText(STATUS_IDLE);
  }
}

public void reset ( ) { disconnect ( ) ; Properties rp = new Properties ( ) ; rp . setProperty ( COMMAND_FIELD , CLEAR ) ; distributeEvent ( rp ) ; if ( serverPanel != null ) { viewChoice . removeAll ( ) ; connectedStatus . setText ( STATUS_IDLE ) ; } }
complete disconnect , sends clear command to netmaplisteners , resets gui if it ' s being used .
