small fix to kundenAuflisten

dateFeature
Berat Kocak 2024-11-09 16:21:53 +01:00
parent 3e70dacdc2
commit 250df5fe99
2 changed files with 4 additions and 3 deletions

View File

@ -330,7 +330,8 @@ public class Bibliothek {
} }
for(Kunde k: kundenListe) { for(Kunde k: kundenListe) {
JLabel cd = new JLabel("Kennnummer: " + k.getKennnummer() JLabel cd = new JLabel("Kennnummer: " + k.getKennnummer()
+ ", Student: " + k.istStudent()); + ", Student: " + k.istStudent()
+ ", Schulden: " + k.getSchulden());
jlabelList.add(cd); jlabelList.add(cd);
} }
return jlabelList; return jlabelList;

View File

@ -58,7 +58,7 @@ public class BibliothekGUI extends JFrame implements ActionListener{
JButton b1 = new JButton("Liste aller Kunden ansehen"); JButton b1 = new JButton("Liste aller Kunden ansehen");
b1.addActionListener(e -> userListMenu()); b1.addActionListener(e -> userListMenu());
JButton b2 = new JButton("Gebühren überschreiben"); JButton b2 = new JButton("Gebühren überschreiben");
b2.addActionListener(e -> userOwedMenu()); b2.addActionListener(e -> changeOwedMenu());
adminGrid.add(b1); adminGrid.add(b1);
adminGrid.add(b2); adminGrid.add(b2);
adminPanel.add(adminGrid, BorderLayout.CENTER); adminPanel.add(adminGrid, BorderLayout.CENTER);
@ -81,7 +81,7 @@ public class BibliothekGUI extends JFrame implements ActionListener{
} }
private static void userOwedMenu() { private static void changeOwedMenu() {
} }