diff options
| author | Tobias Spitzer | 2014-05-15 11:17:06 +0200 |
|---|---|---|
| committer | Tobias Spitzer | 2014-05-15 11:17:06 +0200 |
| commit | 32dff35f3cf3a74f62b64105fd57f7da0e2027dc (patch) | |
| tree | f60fa38f526b7d1167342335c2cfa0c393a84466 /Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java | |
| parent | Merge branch 'master' of ssh://git.openslx.org/openslx-ng/tutor-module (diff) | |
| download | tutor-module-32dff35f3cf3a74f62b64105fd57f7da0e2027dc.tar.gz tutor-module-32dff35f3cf3a74f62b64105fd57f7da0e2027dc.tar.xz tutor-module-32dff35f3cf3a74f62b64105fd57f7da0e2027dc.zip | |
Es wird nur noch eine Verbindung zum bwLehrpoolSuite Server geöffnet.
Diffstat (limited to 'Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java')
| -rw-r--r-- | Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java b/Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java index f54b048a..d686f5f9 100644 --- a/Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java +++ b/Dozentenmodul/src/gui/lecture/SearchLecture_GUI.java @@ -68,7 +68,7 @@ public class SearchLecture_GUI extends JFrame { "Gültigkeitsdatum", "Aktiv", "Letzte Benutzung", "Verantwortlicher", "Image", "Schlagwort", "ID" }; ThriftConnection con = new ThriftConnection(); - Client client = con.getThriftConnection(); + Client client = models.Client.clientcon.getClient(); final DefaultTableModel modelAll = new DefaultTableModel(titles, 0); final DefaultTableModel modelMyLectures = new DefaultTableModel(titles, 0); final TableRowSorter<TableModel> rowSorterAll = new TableRowSorter<TableModel>( @@ -192,7 +192,7 @@ public class SearchLecture_GUI extends JFrame { @Override public void mouseClicked(MouseEvent arg0) { // Öffnet das Fenster Extended GUI - con.closeThriftConnection(); + ExtendedSearchForImages_GUI es = new ExtendedSearchForImages_GUI(); es.setVisible(true); } @@ -207,7 +207,7 @@ public class SearchLecture_GUI extends JFrame { @Override public void mouseClicked(MouseEvent arg0) { // Öffnet das Hauptmenü - con.closeThriftConnection(); + SearchLecture_GUI.this.setVisible(false); MainMenue_GUI main = new MainMenue_GUI(); main.setVisible(true); @@ -335,7 +335,7 @@ public class SearchLecture_GUI extends JFrame { btnBack.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { // Öffnet das Hauptmenü - con.closeThriftConnection(); + MainMenue_GUI main = new MainMenue_GUI(); main.setVisible(true); dispose(); |
