removed default login data for testing purposes

This commit is contained in:
Sven Vogel 2023-07-01 17:41:15 +02:00
parent 23d96f41b2
commit 34ecda7d6e
2 changed files with 2 additions and 4 deletions

View File

@ -33,7 +33,6 @@ public class Loader {
fileChooser.setFileFilter(FILE_FILTER); fileChooser.setFileFilter(FILE_FILTER);
fileChooser.setDialogType(JFileChooser.OPEN_DIALOG); fileChooser.setDialogType(JFileChooser.OPEN_DIALOG);
fileChooser.setAcceptAllFileFilterUsed(false); fileChooser.setAcceptAllFileFilterUsed(false);
fileChooser.setCurrentDirectory(new File("/home/teridax/IdeaProjects/JCash/res"));
if (fileChooser.showDialog(null, "Load database") == APPROVE_OPTION) { if (fileChooser.showDialog(null, "Load database") == APPROVE_OPTION) {
// parse file content // parse file content

View File

@ -43,10 +43,9 @@ public class LoginView extends JPanel {
} }
private void createComponents() { private void createComponents() {
this.blz = new JFormattedTextField("MA2424"); this.blz = new JFormattedTextField();
this.iban = new JFormattedTextField(getNumberFormat()); this.iban = new JFormattedTextField(getNumberFormat());
this.iban.setText("4711"); this.pin = new JPasswordField();
this.pin = new JPasswordField("1234");
this.login = new JButton("Login"); this.login = new JButton("Login");
} }