try { FileOutputStream out = new FileOutputStream(fileName); props.store(out,"------ Defaults --------");  } catch (FileNotFoundException fnfe) {} catch (IOException ioe) {}
changes.saveSessionProps();
   private void saveProps() {      DefaultMutableTreeNode root = (DefaultMutableTreeNode)tree.getModel().getRoot();      Enumeration e = root.children();      Object child;      while (e.hasMoreElements()) {         child = e.nextElement();         Object obj = ((DefaultMutableTreeNode)child).getUserObject();         if (obj instanceof AttributesPanel) {            ((AttributesPanel)obj).save();         }      }      try {         FileOutputStream out = new FileOutputStream(fileName);         props.store(out,"------ Defaults --------");      }      catch (FileNotFoundException fnfe) {}      catch (IOException ioe) {}   }