private void miCreateRunActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_miCreateRunActionPerformed try { RunCreationDialog dialog = new RunCreationDialog(this, loggedInUser, userPanel, true); dialog.setLocationRelativeTo(this); dialog.setVisible(true); try { userPanel.updateProcessTable(); userPanel.updateRunTable(); } catch (Exception ex) { ex.printStackTrace(); // ignore for now... } } catch (NullPointerException | ParserConfigurationException | IOException | SAXException e) { e.printStackTrace(); JOptionPane.showMessageDialog( this, "An error occurred loading a preset template: " + e.getMessage(), "Template Error", JOptionPane.ERROR_MESSAGE); // this.dispose(); } } // GEN-LAST:event_miCreateRunActionPerformed