public boolean load(){
  DefaultHandler handler=new GanttXMLOptionsParser();
  SAXParserFactory factory=SAXParserFactory.newInstance();
  try {
    String sFileName=".ganttproject";
    File file=new File(System.getProperty("user.home") + System.getProperty("file.separator") + sFileName);
    if (!file.exists()) {
      return false;
    }
    myDocumentManager.clearRecentDocuments();
    SAXParser saxParser=factory.newSAXParser();
    saxParser.parse(file,handler);
    loadRoleSets(file);
  }
 catch (  Exception e) {
    if (!GPLogger.log(e)) {
      e.printStackTrace(System.err);
    }
    return false;
  }
  isloaded=true;
  return true;
}

public boolean load ( ) { DefaultHandler handler = new GanttXMLOptionsParser ( ) ; SAXParserFactory factory = SAXParserFactory . newInstance ( ) ; try { String sFileName = ".ganttproject" ; File file = new File ( System . getProperty ( "user.home" ) + System . getProperty ( "file.separator" ) + sFileName ) ; if ( ! file . exists ( ) ) { return false ; } myDocumentManager . clearRecentDocuments ( ) ; SAXParser saxParser = factory . newSAXParser ( ) ; saxParser . parse ( file , handler ) ; loadRoleSets ( file ) ; } catch ( Exception e ) { if ( ! GPLogger . log ( e ) ) { e . printStackTrace ( System . err ) ; } return false ; } isloaded = true ; return true ; }
load the options file
