diff options
| author | Tobias Spitzer | 2014-08-26 07:42:14 +0200 |
|---|---|---|
| committer | Tobias Spitzer | 2014-08-26 07:42:14 +0200 |
| commit | 4fcc347e9b95c5dbf7ab2df310e66892c8da4380 (patch) | |
| tree | a270ce5b3735ebe99b8b2df1efe9eb56d04f9296 /Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java | |
| parent | sfda (diff) | |
| parent | date geändert (diff) | |
| download | tutor-module-4fcc347e9b95c5dbf7ab2df310e66892c8da4380.tar.gz tutor-module-4fcc347e9b95c5dbf7ab2df310e66892c8da4380.tar.xz tutor-module-4fcc347e9b95c5dbf7ab2df310e66892c8da4380.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tutor-module
Conflicts:
Dozentenmodul/bin/gui/image/FTPCreateUploader_GUI.class
fsad
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 b73e0723..12a5d6bb 100644 --- a/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java +++ b/Dozentenmodul/src/gui/image/FTPEditUploader_GUI.java @@ -88,6 +88,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. @@ -398,6 +399,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); @@ -608,4 +611,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 |
