From 2f64bc32552c7fedd9ffaba337784ca32f559374 Mon Sep 17 00:00:00 2001 From: simono41 Date: Mon, 21 Nov 2016 00:32:41 +0100 Subject: [PATCH] Fehlerbehebung --- .gitignore | 1 + Vokabeln.txt | 2 -- src/vokabeltrainer/GUI.java | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 32858aa..f009270 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* +/dist/ \ No newline at end of file diff --git a/Vokabeln.txt b/Vokabeln.txt index 447e4a2..4407b90 100644 --- a/Vokabeln.txt +++ b/Vokabeln.txt @@ -1,5 +1,3 @@ Vokabeln: Vokabel Vokabel -1Vokabel -1Vokabel diff --git a/src/vokabeltrainer/GUI.java b/src/vokabeltrainer/GUI.java index 8a11eeb..a4bf697 100644 --- a/src/vokabeltrainer/GUI.java +++ b/src/vokabeltrainer/GUI.java @@ -329,7 +329,7 @@ public class GUI extends javax.swing.JFrame { a.read(); } catch (FileNotFoundException ex) { - Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null, ex); + System.out.println("Datei wird neu Angelegt!"); } catch (IOException ex) { Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null, ex);