commit c8a49fd733dc71ab7585c6ab6cb585396c292a47
parent 49b967f0a5079ca77bcaaa00f1348c312b3ccebc
Author: Michael Neuper <michael@michaelneuper.com>
Date: Sat, 29 Apr 2023 22:46:23 +0200
Refactor
Diffstat:
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/src/view/Login.java b/src/view/Login.java
@@ -2,7 +2,6 @@ package view;
import controller.LoginController;
import java.util.Date;
-import javax.swing.JOptionPane;
/**
* GUI for login screen.
@@ -340,7 +339,7 @@ public class Login extends javax.swing.JFrame {
}//GEN-LAST:event_jButtonPlayActionPerformed
private void jPasswordFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jPasswordFieldActionPerformed
- // TODO add your handling code here:
+
}//GEN-LAST:event_jPasswordFieldActionPerformed
private void jTextFieldUsernameMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTextFieldUsernameMouseClicked
@@ -375,16 +374,12 @@ public class Login extends javax.swing.JFrame {
break;
}
}
- } catch (ClassNotFoundException ex) {
- java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
- } catch (InstantiationException ex) {
- java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
- } catch (IllegalAccessException ex) {
- java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
- } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
+
+ //</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(() -> {