small fix to kundenAuflisten
parent
3e70dacdc2
commit
250df5fe99
|
@ -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;
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue