summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/image/FTPDownloader_GUI.java
diff options
context:
space:
mode:
authorTobias Spitzer2014-05-15 11:17:06 +0200
committerTobias Spitzer2014-05-15 11:17:06 +0200
commit32dff35f3cf3a74f62b64105fd57f7da0e2027dc (patch)
treef60fa38f526b7d1167342335c2cfa0c393a84466 /Dozentenmodul/src/gui/image/FTPDownloader_GUI.java
parentMerge branch 'master' of ssh://git.openslx.org/openslx-ng/tutor-module (diff)
downloadtutor-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/image/FTPDownloader_GUI.java')
-rw-r--r--Dozentenmodul/src/gui/image/FTPDownloader_GUI.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/Dozentenmodul/src/gui/image/FTPDownloader_GUI.java b/Dozentenmodul/src/gui/image/FTPDownloader_GUI.java
index 1deb6cff..97a29849 100644
--- a/Dozentenmodul/src/gui/image/FTPDownloader_GUI.java
+++ b/Dozentenmodul/src/gui/image/FTPDownloader_GUI.java
@@ -70,8 +70,8 @@ public class FTPDownloader_GUI extends JFrame implements PropertyChangeListener
long bytesread;
JLabel labelZeit;
boolean taskrun = false;
- ThriftConnection thrift = new ThriftConnection();
- Client client = thrift.getThriftConnection();
+ ThriftConnection con = new ThriftConnection();
+ Client client = models.Client.clientcon.getClient();
JButton btnZurck = new JButton("Zur\u00FCck");
JButton btnDownloadStarten = new JButton("Download starten");
JButton btnMainMenu = new JButton("Hauptmen\u00FC");
@@ -87,7 +87,7 @@ public class FTPDownloader_GUI extends JFrame implements PropertyChangeListener
if (taskrun == true) {
try {
client.DeleteFtpUser(user.userName);
- thrift.closeThriftConnection();
+ con.closeThriftConnection();
} catch (TException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
@@ -355,7 +355,7 @@ public class FTPDownloader_GUI extends JFrame implements PropertyChangeListener
"Debug-Message", JOptionPane.ERROR_MESSAGE);
}
}
- thrift.closeThriftConnection();
+
SearchEditImage_GUI se = new SearchEditImage_GUI();
se.setVisible(true);
dispose();
@@ -368,7 +368,7 @@ public class FTPDownloader_GUI extends JFrame implements PropertyChangeListener
btnMainMenu.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
- thrift.closeThriftConnection();
+
MainMenue_GUI mm = new MainMenue_GUI();
mm.setVisible(true);
dispose();