@Override public void actionPerformed(ActionEvent ev){
  final megan.remote.RemoteServiceBrowser remoteServiceBrowser=(megan.remote.RemoteServiceBrowser)getViewer();
  if (remoteServiceBrowser != null) {
    String url=remoteServiceBrowser.getURL();
    if (url.length() > 0) {
      execute("detach remoteServer=" + url + ";");
    }
  }
}

@ Override public void actionPerformed ( ActionEvent ev ) { final megan . remote . RemoteServiceBrowser remoteServiceBrowser = ( megan . remote . RemoteServiceBrowser ) getViewer ( ) ; if ( remoteServiceBrowser != null ) { String url = remoteServiceBrowser . getURL ( ) ; if ( url . length ( ) > 0 ) { execute ( "detach remoteServer=" + url + ";" ) ; } } }
action to be performed
