private void jBStoreResultsActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jBStoreResultsActionPerformed
try {
JFrame mainFrame = SwimRaceOrganizerApp.getApplication().getMainFrame();
setPoolType(settingsWindow.getPoolType());
//setCompetitionName(settingsWindow.getCompetitionName());
generateHeatOutputs = new HeatOutputGenerator(poolType, competitionName, "Store Results");
// generateHeatOutputs.setLocationRelativeTo(mainFrame);
SwimRaceOrganizerApp.getApplication().show(generateHeatOutputs);
} catch (NullPointerException e) {
JOptionPane.showMessageDialog(null, "Trebuie completate setarile pt a purcede!", "Atentie!!!", 1);
}