We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a0ea7f commit 3c737cdCopy full SHA for 3c737cd
Semester1/src/main/java/Fach_4_Datenbanken/modelMitGui/AbteilungController.java
@@ -11,6 +11,14 @@
11
*/
12
public class AbteilungController {
13
14
+ public AbteilungController() {
15
+ try {
16
+ readAll();
17
+ } catch (Exception e) {
18
+ e.printStackTrace();
19
+ }
20
21
+
22
ArrayList<AbteilungTO> abteilungsListe = new ArrayList<AbteilungTO>();
23
24
public ArrayList<AbteilungTO> getAbteilungsListe() {
Semester1/src/main/java/Fach_4_Datenbanken/modelMitGui/GUI.java
@@ -40,6 +40,7 @@ public GUI() {
40
JTable table = new JTable();
41
42
AbteilungController ac = new AbteilungController();
43
+ System.out.println("abteilungsliste: " +ac.getAbteilungsListe().size());
44
45
DefaultTableModel model = new DefaultTableModel();
46
table.setModel(model);
0 commit comments