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/image/FTPEditUploader_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/image/FTPEditUploader_GUI.java')
| -rw-r--r-- | Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java b/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java index 6b2e0d66..99fc034b 100644 --- a/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java +++ b/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java @@ -73,8 +73,8 @@ public class FTPEditUploader_GUI extends JFrame implements long bytesread; boolean taskrun = false; int progress = 0; - ThriftConnection thrift = new ThriftConnection(); - Client client = thrift.getThriftConnection(); + ThriftConnection con = new ThriftConnection(); + Client client = models.Client.clientcon.getClient(); JButton btnUploadStarten = new JButton("Upload auf Server starten"); JButton btnSpeicherortAuswhlen = new JButton("Image ausw\u00E4hlen"); JButton finishButton = new JButton("Fertigstellen"); @@ -113,6 +113,7 @@ public class FTPEditUploader_GUI extends JFrame implements } task.cancel(true); } + con.closeThriftConnection(); System.exit(0); }// end window closing }); @@ -334,7 +335,7 @@ public class FTPEditUploader_GUI extends JFrame implements } task.cancel(true); } - thrift.closeThriftConnection(); + } }); btnZurck.addActionListener(new ActionListener() { |
