From 34ecda7d6ef9cc29ffa9893f85b4b70de29a224c Mon Sep 17 00:00:00 2001 From: teridax Date: Sat, 1 Jul 2023 17:41:15 +0200 Subject: [PATCH] removed default login data for testing purposes --- src/me/teridax/jcash/gui/Loader.java | 1 - src/me/teridax/jcash/gui/login/LoginView.java | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/me/teridax/jcash/gui/Loader.java b/src/me/teridax/jcash/gui/Loader.java index f12593d..598f97d 100644 --- a/src/me/teridax/jcash/gui/Loader.java +++ b/src/me/teridax/jcash/gui/Loader.java @@ -33,7 +33,6 @@ public class Loader { fileChooser.setFileFilter(FILE_FILTER); fileChooser.setDialogType(JFileChooser.OPEN_DIALOG); fileChooser.setAcceptAllFileFilterUsed(false); - fileChooser.setCurrentDirectory(new File("/home/teridax/IdeaProjects/JCash/res")); if (fileChooser.showDialog(null, "Load database") == APPROVE_OPTION) { // parse file content diff --git a/src/me/teridax/jcash/gui/login/LoginView.java b/src/me/teridax/jcash/gui/login/LoginView.java index cd2d17f..05f19fa 100644 --- a/src/me/teridax/jcash/gui/login/LoginView.java +++ b/src/me/teridax/jcash/gui/login/LoginView.java @@ -43,10 +43,9 @@ public class LoginView extends JPanel { } private void createComponents() { - this.blz = new JFormattedTextField("MA2424"); + this.blz = new JFormattedTextField(); this.iban = new JFormattedTextField(getNumberFormat()); - this.iban.setText("4711"); - this.pin = new JPasswordField("1234"); + this.pin = new JPasswordField(); this.login = new JButton("Login"); }