diff --git a/PR2Bib/src/domainBib/Bibliothek.java b/PR2Bib/src/domainBib/Bibliothek.java index 902f74b..28a4cef 100644 --- a/PR2Bib/src/domainBib/Bibliothek.java +++ b/PR2Bib/src/domainBib/Bibliothek.java @@ -330,7 +330,8 @@ public class Bibliothek { } for(Kunde k: kundenListe) { JLabel cd = new JLabel("Kennnummer: " + k.getKennnummer() - + ", Student: " + k.istStudent()); + + ", Student: " + k.istStudent() + + ", Schulden: " + k.getSchulden()); jlabelList.add(cd); } return jlabelList; diff --git a/PR2Bib/src/guiBib/BibliothekGUI.java b/PR2Bib/src/guiBib/BibliothekGUI.java index 0c37ab5..c50e3a5 100644 --- a/PR2Bib/src/guiBib/BibliothekGUI.java +++ b/PR2Bib/src/guiBib/BibliothekGUI.java @@ -58,7 +58,7 @@ public class BibliothekGUI extends JFrame implements ActionListener{ JButton b1 = new JButton("Liste aller Kunden ansehen"); b1.addActionListener(e -> userListMenu()); JButton b2 = new JButton("Gebühren überschreiben"); - b2.addActionListener(e -> userOwedMenu()); + b2.addActionListener(e -> changeOwedMenu()); adminGrid.add(b1); adminGrid.add(b2); adminPanel.add(adminGrid, BorderLayout.CENTER); @@ -81,7 +81,7 @@ public class BibliothekGUI extends JFrame implements ActionListener{ } - private static void userOwedMenu() { + private static void changeOwedMenu() { }