private void Open_File_Menu_ItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Open_File_Menu_ItemActionPerformed
      
      //==== Initialize the filechooser, using the user's home dir, or the last working dir
      if(this.currentDirectory.equals(""))
       {  this.fc = new JFileChooser();  }
      else
       {  this.fc = new JFileChooser(this.currentDirectory); }
      
      int returnVal = fc.showOpenDialog(this);

      if (returnVal == JFileChooser.APPROVE_OPTION) 
      {
        File file = fc.getSelectedFile();
        if(file.exists())
        {
            ResultXML xml = new ResultXML();
           boolean itSaved = xml.openFile(file);
            if (itSaved)
            {
                //Graph graph = xml.getGraph();
                //thisSession = new DigLibSESession(graph, this);
                this.Graph_View_Frame.setContentPane(thisSession.getRadialGraph().getGraphDisplayPanel());
                this.Main_Tab_Pane.setSelectedIndex(1);
            }
            else
            {
                //==== File couldn't open, give an error message
                final JFrame errorMessage = new JFrame();
                errorMessage.setTitle("File Error");
                errorMessage.setLocationRelativeTo(fc);            
                JLabel title = new JLabel("Error opening file, check file format and try again.");
                title.setFont(new Font("Tahoma", 0, 12));                
                //==== Create the button for not overwriting the file
                JButton closeButton = new JButton();
                closeButton.setText("Close");
                closeButton.setToolTipText("Close");
                closeButton.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    errorMessage.setVisible(false);
                    }
                });                
                //==== Add the label and the button to the panel
                JPanel complete = new JPanel();
                GridLayout layout = new GridLayout(2,1);
                layout.addLayoutComponent("title", title);
                layout.addLayoutComponent("button", closeButton);
                complete.add(title);
                complete.add(closeButton);
                complete.setLayout(layout);

                Dimension d = new Dimension(300, 100);
                errorMessage.setSize(d);
                errorMessage.setContentPane(complete);
                errorMessage.setVisible(true);                
            } //end else, file read error
            
            this.currentDirectory = file.getPath();
        }  //end if, file exists
      }  //end if, user clicked the button
    }//GEN-LAST:event_Open_File_Menu_ItemActionPerformed