private void loadButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_loadButtonActionPerformed
        this.setVisible(false);
        
        TreePath path = this.studiesList.getSelectionPath();
        if(path == null || path.getLastPathComponent().equals("Root"))
            return; // No study selected.
        
        Study study = (Study)path.getLastPathComponent();
        
        this.loadStudy(study);
    }//GEN-LAST:event_loadButtonActionPerformed