private void onSendReport() { aptiAPI.shutdownListeners(); this.report.setDescription(this.descriptionArea.getText()); this.report.setName(this.nameField.getText()); this.report.setEmail(this.emailAddressField.getText()); this.aptiAPI.sendErrorReport(report); JOptionPane.showMessageDialog( this, "Error Report has been sent successfully! Thank you for your support!", "Error Report Sent!", JOptionPane.INFORMATION_MESSAGE); this.dispose(); System.exit(0); }
private void onDontSendReport() { aptiAPI.shutdownListeners(); this.dispose(); System.exit(0); }