diff options
| author | Michael Wilson | 2014-08-25 17:50:08 +0200 |
|---|---|---|
| committer | Michael Wilson | 2014-08-25 17:50:08 +0200 |
| commit | 5f9def7c33845efcff91ec1edf7caae71fc4ed75 (patch) | |
| tree | dcc58f563fe379910b3858b0ea73a6abd2fcbfaf /Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java | |
| parent | Merge branch 'master' of ssh://git.openslx.org/openslx-ng/tutor-module (diff) | |
| download | tutor-module-5f9def7c33845efcff91ec1edf7caae71fc4ed75.tar.gz tutor-module-5f9def7c33845efcff91ec1edf7caae71fc4ed75.tar.xz tutor-module-5f9def7c33845efcff91ec1edf7caae71fc4ed75.zip | |
Verhindere unerlaubtes zurückgehen auf vorige Seite während Up-DOwnloads
Diffstat (limited to 'Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java')
| -rw-r--r-- | Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java b/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java index de1f6ffe..f54bea82 100644 --- a/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java +++ b/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java @@ -84,6 +84,7 @@ public class FTPEditUploader_GUI extends JFrame implements JButton btnSpeicherortAuswhlen = new JButton("Image ausw\u00E4hlen"); JButton finishButton = new JButton("Fertigstellen"); JButton btnZurck = new JButton("Zur\u00FCck"); + private boolean isCurrentlyLoading = false; // currently up or downloading file /** * Create the frame. @@ -351,6 +352,8 @@ public class FTPEditUploader_GUI extends JFrame implements }); btnZurck.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { + + // dispose(); PermissionEditImage_GUI ei = new PermissionEditImage_GUI(); ei.setVisible(true); @@ -561,4 +564,16 @@ public class FTPEditUploader_GUI extends JFrame implements return true; } + + public boolean isCurrentlyLoading() { + isCurrentlyLoading = false; + + if (labelverbleibend.getText().equals("0")) { + isCurrentlyLoading = false; + } else { + isCurrentlyLoading = true; + } + System.out.println("isCurrentlyLoading"+isCurrentlyLoading); + return isCurrentlyLoading; + }// end isCurrentlyLoading() }
\ No newline at end of file |
