if (xmlFile != null && !CommunityDbUtils.importCommunityXML(xmlFile, experiment.getCommAsbID())) {  if (log.isInfoEnabled()) { log.info("crtExpFromFile got no Community XML data out of " + xmlFile.getAbsolutePath()); } }
  private void importCommunities() {    // Add in community info for this society    JFileChooser chooser =       new JFileChooser(SocietyFinder.getInstance().getPath());    chooser.setFileSelectionMode(JFileChooser.FILES_ONLY);    chooser.setDialogTitle("Select the communities.xml file to import");    // Allow selection of XML files and directories    chooser.addChoosableFileFilter(new FileFilter() {	public boolean accept(File f) {	  if (f == null)	    return false;	  if (f.isDirectory())	    return true;	  return f.getName().endsWith(".xml");	}		public String getDescription() {	  return "XML Files";	}	      });        File xmlFile = null;    while (xmlFile == null) {      int result = chooser.showDialog(this, "OK");      if (result != JFileChooser.APPROVE_OPTION)	return;      xmlFile = chooser.getSelectedFile();    }//     if (xmlFile != null && !ConfigDbUtils.importCommunityXML(xmlFile, experiment.getCommAsbID())) {//       // There may have been none, so don't complain too loudly.//       if (log.isInfoEnabled()) {// 	log.info("crtExpFromFile got no Community XML data out of " + xmlFile.getFullPath());//       }//     }    // re-init display if necessary    update();  }