This commit is contained in:
Asecave
2021-10-05 16:55:26 +02:00
parent 6559ef501d
commit 9facddedf3
12 changed files with 148 additions and 154 deletions

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
/.metadata/
Stundenplan/.classpath
Stundenplan/.project
Stundenplan/.settings/

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="sqlite-jdbc-3.36.0.3" level="project" />
</component>
</module>

1
Stundenplan/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/bin/

View File

0
QueryResult.java → Stundenplan/src/QueryResult.java Executable file → Normal file
View File

0
Queue.java → Stundenplan/src/Queue.java Executable file → Normal file
View File

View File

@@ -39,6 +39,7 @@ public class Stundenplan implements SelectionListener {
// Lehrer abfragen und ein Auswahlfeld erstellen, dass in der
// GUI angezeigt wird, um den angezeigten Stundenplan anzupassen
dbc.executeStatement("SELECT kuerzel FROM lehrer");
System.out.println(dbc.getErrorMessage());
r = dbc.getCurrentQueryResult();
String[] teachers = new String[r.getRowCount()];
for (int i = 0; i < r.getRowCount(); i++) {

View File