summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul
diff options
context:
space:
mode:
authorunknown2014-04-04 16:42:54 +0200
committerunknown2014-04-04 16:42:54 +0200
commit4acab74e19b08290b4e8b9a8c7171885c222aee5 (patch)
treec7f46a3a4addf1181b88ce897bc9b4eadf111927 /Dozentenmodul
parentMerge branch 'master' of git.openslx.org:openslx-ng/tutor-module (diff)
downloadtutor-module-4acab74e19b08290b4e8b9a8c7171885c222aee5.tar.gz
tutor-module-4acab74e19b08290b4e8b9a8c7171885c222aee5.tar.xz
tutor-module-4acab74e19b08290b4e8b9a8c7171885c222aee5.zip
Diverse Bugfixes und neue Grafik
Diffstat (limited to 'Dozentenmodul')
-rw-r--r--Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$1.classbin1035 -> 1035 bytes
-rw-r--r--Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$2.classbin859 -> 859 bytes
-rw-r--r--Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$3.classbin928 -> 928 bytes
-rw-r--r--Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$4.classbin925 -> 925 bytes
-rw-r--r--Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI.classbin10360 -> 10791 bytes
-rw-r--r--Dozentenmodul/bin/GUI/ExtendedSearch_GUI.classbin6375 -> 6375 bytes
-rw-r--r--Dozentenmodul/bin/GUI/FTPUploader_GUI.classbin11984 -> 12001 bytes
-rw-r--r--Dozentenmodul/bin/GUI/LinkImage_GUI$1.classbin662 -> 895 bytes
-rw-r--r--Dozentenmodul/bin/GUI/LinkImage_GUI$2.classbin1453 -> 1457 bytes
-rw-r--r--Dozentenmodul/bin/GUI/LinkImage_GUI$3.classbin730 -> 730 bytes
-rw-r--r--Dozentenmodul/bin/GUI/LinkImage_GUI$4.classbin1478 -> 1478 bytes
-rw-r--r--Dozentenmodul/bin/GUI/LinkImage_GUI$5.classbin739 -> 739 bytes
-rw-r--r--Dozentenmodul/bin/GUI/LinkImage_GUI$6.classbin781 -> 942 bytes
-rw-r--r--Dozentenmodul/bin/GUI/LinkImage_GUI$7.classbin2402 -> 3172 bytes
-rw-r--r--Dozentenmodul/bin/GUI/LinkImage_GUI.classbin11187 -> 11346 bytes
-rw-r--r--Dozentenmodul/bin/GUI/MainMenue_GUI$4.classbin996 -> 1058 bytes
-rw-r--r--Dozentenmodul/bin/GUI/MainMenue_GUI.classbin10763 -> 10887 bytes
-rw-r--r--Dozentenmodul/bin/GUI/SearchImage_GUI.classbin11734 -> 11734 bytes
-rw-r--r--Dozentenmodul/bin/Image_zu_Veranstaltung_HDD.pngbin0 -> 34300 bytes
-rw-r--r--Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$1.classbin1035 -> 1035 bytes
-rw-r--r--Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$2.classbin859 -> 859 bytes
-rw-r--r--Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$3.classbin928 -> 928 bytes
-rw-r--r--Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$4.classbin925 -> 925 bytes
-rw-r--r--Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$5.classbin1911 -> 1911 bytes
-rw-r--r--Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$6.classbin3027 -> 3031 bytes
-rw-r--r--Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI.classbin10360 -> 10791 bytes
-rw-r--r--Dozentenmodul/bin/gui/ExtendedSearch_GUI$1.classbin692 -> 692 bytes
-rw-r--r--Dozentenmodul/bin/gui/ExtendedSearch_GUI$2.classbin833 -> 833 bytes
-rw-r--r--Dozentenmodul/bin/gui/ExtendedSearch_GUI$3.classbin813 -> 813 bytes
-rw-r--r--Dozentenmodul/bin/gui/ExtendedSearch_GUI.classbin6375 -> 6375 bytes
-rw-r--r--Dozentenmodul/bin/gui/FTPUploader_GUI.classbin11984 -> 12001 bytes
-rw-r--r--Dozentenmodul/bin/gui/LinkImage_GUI$1.classbin662 -> 895 bytes
-rw-r--r--Dozentenmodul/bin/gui/LinkImage_GUI$2.classbin1453 -> 1457 bytes
-rw-r--r--Dozentenmodul/bin/gui/LinkImage_GUI$3.classbin730 -> 730 bytes
-rw-r--r--Dozentenmodul/bin/gui/LinkImage_GUI$4.classbin1478 -> 1478 bytes
-rw-r--r--Dozentenmodul/bin/gui/LinkImage_GUI$5.classbin739 -> 739 bytes
-rw-r--r--Dozentenmodul/bin/gui/LinkImage_GUI$6.classbin781 -> 942 bytes
-rw-r--r--Dozentenmodul/bin/gui/LinkImage_GUI$7.classbin2402 -> 3172 bytes
-rw-r--r--Dozentenmodul/bin/gui/LinkImage_GUI.classbin11187 -> 11346 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$1.classbin662 -> 662 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$10.classbin793 -> 793 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$11.classbin1005 -> 1068 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$12.classbin1816 -> 1816 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$2.classbin729 -> 729 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$3.classbin740 -> 740 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$4.classbin996 -> 1058 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$5.classbin976 -> 976 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$6.classbin947 -> 947 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$7.classbin1031 -> 1038 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$8.classbin973 -> 1053 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI$9.classbin944 -> 944 bytes
-rw-r--r--Dozentenmodul/bin/gui/MainMenue_GUI.classbin10763 -> 10887 bytes
-rw-r--r--Dozentenmodul/bin/gui/SearchImage_GUI$9.classbin809 -> 930 bytes
-rw-r--r--Dozentenmodul/bin/gui/SearchImage_GUI.classbin11734 -> 11734 bytes
-rw-r--r--Dozentenmodul/img/Image_zu_Veranstaltung_HDD.pngbin0 -> 34300 bytes
-rw-r--r--Dozentenmodul/src/GUI/EingabeVeranstaltungAllgemein_GUI.java48
-rw-r--r--Dozentenmodul/src/GUI/ExtendedSearch_GUI.java1
-rw-r--r--Dozentenmodul/src/GUI/FTPUploader_GUI.java6
-rw-r--r--Dozentenmodul/src/GUI/LinkImage_GUI.java294
-rw-r--r--Dozentenmodul/src/GUI/MainMenue_GUI.java46
-rw-r--r--Dozentenmodul/src/GUI/SearchImage_GUI.java1
-rw-r--r--Dozentenmodul/src/gui/EingabeVeranstaltungAllgemein_GUI.java48
-rw-r--r--Dozentenmodul/src/gui/ExtendedSearch_GUI.java1
-rw-r--r--Dozentenmodul/src/gui/FTPUploader_GUI.java6
-rw-r--r--Dozentenmodul/src/gui/LinkImage_GUI.java294
-rw-r--r--Dozentenmodul/src/gui/MainMenue_GUI.java46
-rw-r--r--Dozentenmodul/src/gui/SearchImage_GUI.java1
67 files changed, 452 insertions, 340 deletions
diff --git a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$1.class b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$1.class
index 95158b5d..351eac91 100644
--- a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$1.class
+++ b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$1.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$2.class b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$2.class
index 8015544b..26a0b9ad 100644
--- a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$2.class
+++ b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$2.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$3.class b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$3.class
index 4796831e..99c0174e 100644
--- a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$3.class
+++ b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$3.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$4.class b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$4.class
index 287ba784..54053623 100644
--- a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$4.class
+++ b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI$4.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI.class b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI.class
index 87239abd..1614b33b 100644
--- a/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI.class
+++ b/Dozentenmodul/bin/GUI/EingabeVeranstaltungAllgemein_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/ExtendedSearch_GUI.class b/Dozentenmodul/bin/GUI/ExtendedSearch_GUI.class
index 5c5857a5..567cb8a9 100644
--- a/Dozentenmodul/bin/GUI/ExtendedSearch_GUI.class
+++ b/Dozentenmodul/bin/GUI/ExtendedSearch_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/FTPUploader_GUI.class b/Dozentenmodul/bin/GUI/FTPUploader_GUI.class
index b1d61364..88b2815c 100644
--- a/Dozentenmodul/bin/GUI/FTPUploader_GUI.class
+++ b/Dozentenmodul/bin/GUI/FTPUploader_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/LinkImage_GUI$1.class b/Dozentenmodul/bin/GUI/LinkImage_GUI$1.class
index a0a9eb95..592ffc31 100644
--- a/Dozentenmodul/bin/GUI/LinkImage_GUI$1.class
+++ b/Dozentenmodul/bin/GUI/LinkImage_GUI$1.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/LinkImage_GUI$2.class b/Dozentenmodul/bin/GUI/LinkImage_GUI$2.class
index 59117e1c..05132e61 100644
--- a/Dozentenmodul/bin/GUI/LinkImage_GUI$2.class
+++ b/Dozentenmodul/bin/GUI/LinkImage_GUI$2.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/LinkImage_GUI$3.class b/Dozentenmodul/bin/GUI/LinkImage_GUI$3.class
index c6115895..6872589c 100644
--- a/Dozentenmodul/bin/GUI/LinkImage_GUI$3.class
+++ b/Dozentenmodul/bin/GUI/LinkImage_GUI$3.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/LinkImage_GUI$4.class b/Dozentenmodul/bin/GUI/LinkImage_GUI$4.class
index 1c0ad2e0..d56819a3 100644
--- a/Dozentenmodul/bin/GUI/LinkImage_GUI$4.class
+++ b/Dozentenmodul/bin/GUI/LinkImage_GUI$4.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/LinkImage_GUI$5.class b/Dozentenmodul/bin/GUI/LinkImage_GUI$5.class
index a666be6d..d4ea86c6 100644
--- a/Dozentenmodul/bin/GUI/LinkImage_GUI$5.class
+++ b/Dozentenmodul/bin/GUI/LinkImage_GUI$5.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/LinkImage_GUI$6.class b/Dozentenmodul/bin/GUI/LinkImage_GUI$6.class
index 0b50d8a6..f1cd179d 100644
--- a/Dozentenmodul/bin/GUI/LinkImage_GUI$6.class
+++ b/Dozentenmodul/bin/GUI/LinkImage_GUI$6.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/LinkImage_GUI$7.class b/Dozentenmodul/bin/GUI/LinkImage_GUI$7.class
index c2ded647..40df5002 100644
--- a/Dozentenmodul/bin/GUI/LinkImage_GUI$7.class
+++ b/Dozentenmodul/bin/GUI/LinkImage_GUI$7.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/LinkImage_GUI.class b/Dozentenmodul/bin/GUI/LinkImage_GUI.class
index fdbfbc72..d9cfd2ea 100644
--- a/Dozentenmodul/bin/GUI/LinkImage_GUI.class
+++ b/Dozentenmodul/bin/GUI/LinkImage_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/MainMenue_GUI$4.class b/Dozentenmodul/bin/GUI/MainMenue_GUI$4.class
index 556b11db..995f1202 100644
--- a/Dozentenmodul/bin/GUI/MainMenue_GUI$4.class
+++ b/Dozentenmodul/bin/GUI/MainMenue_GUI$4.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/MainMenue_GUI.class b/Dozentenmodul/bin/GUI/MainMenue_GUI.class
index 9c8c5535..c6188012 100644
--- a/Dozentenmodul/bin/GUI/MainMenue_GUI.class
+++ b/Dozentenmodul/bin/GUI/MainMenue_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/GUI/SearchImage_GUI.class b/Dozentenmodul/bin/GUI/SearchImage_GUI.class
index 87386672..d014f8d0 100644
--- a/Dozentenmodul/bin/GUI/SearchImage_GUI.class
+++ b/Dozentenmodul/bin/GUI/SearchImage_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/Image_zu_Veranstaltung_HDD.png b/Dozentenmodul/bin/Image_zu_Veranstaltung_HDD.png
new file mode 100644
index 00000000..39b3bac6
--- /dev/null
+++ b/Dozentenmodul/bin/Image_zu_Veranstaltung_HDD.png
Binary files differ
diff --git a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$1.class b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$1.class
index 95158b5d..351eac91 100644
--- a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$1.class
+++ b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$1.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$2.class b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$2.class
index 8015544b..26a0b9ad 100644
--- a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$2.class
+++ b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$2.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$3.class b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$3.class
index 4796831e..99c0174e 100644
--- a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$3.class
+++ b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$3.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$4.class b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$4.class
index 287ba784..54053623 100644
--- a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$4.class
+++ b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$4.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$5.class b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$5.class
index 34db5dc5..6f6df5ca 100644
--- a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$5.class
+++ b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$5.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$6.class b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$6.class
index 382a27cf..9eaac71c 100644
--- a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$6.class
+++ b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI$6.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI.class b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI.class
index 87239abd..1614b33b 100644
--- a/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI.class
+++ b/Dozentenmodul/bin/gui/EingabeVeranstaltungAllgemein_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/ExtendedSearch_GUI$1.class b/Dozentenmodul/bin/gui/ExtendedSearch_GUI$1.class
index 14bb24a5..35128bac 100644
--- a/Dozentenmodul/bin/gui/ExtendedSearch_GUI$1.class
+++ b/Dozentenmodul/bin/gui/ExtendedSearch_GUI$1.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/ExtendedSearch_GUI$2.class b/Dozentenmodul/bin/gui/ExtendedSearch_GUI$2.class
index dd35be9f..d1fc8d5b 100644
--- a/Dozentenmodul/bin/gui/ExtendedSearch_GUI$2.class
+++ b/Dozentenmodul/bin/gui/ExtendedSearch_GUI$2.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/ExtendedSearch_GUI$3.class b/Dozentenmodul/bin/gui/ExtendedSearch_GUI$3.class
index 465fc151..86321ae8 100644
--- a/Dozentenmodul/bin/gui/ExtendedSearch_GUI$3.class
+++ b/Dozentenmodul/bin/gui/ExtendedSearch_GUI$3.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/ExtendedSearch_GUI.class b/Dozentenmodul/bin/gui/ExtendedSearch_GUI.class
index 5c5857a5..567cb8a9 100644
--- a/Dozentenmodul/bin/gui/ExtendedSearch_GUI.class
+++ b/Dozentenmodul/bin/gui/ExtendedSearch_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/FTPUploader_GUI.class b/Dozentenmodul/bin/gui/FTPUploader_GUI.class
index b1d61364..88b2815c 100644
--- a/Dozentenmodul/bin/gui/FTPUploader_GUI.class
+++ b/Dozentenmodul/bin/gui/FTPUploader_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/LinkImage_GUI$1.class b/Dozentenmodul/bin/gui/LinkImage_GUI$1.class
index a0a9eb95..592ffc31 100644
--- a/Dozentenmodul/bin/gui/LinkImage_GUI$1.class
+++ b/Dozentenmodul/bin/gui/LinkImage_GUI$1.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/LinkImage_GUI$2.class b/Dozentenmodul/bin/gui/LinkImage_GUI$2.class
index 59117e1c..05132e61 100644
--- a/Dozentenmodul/bin/gui/LinkImage_GUI$2.class
+++ b/Dozentenmodul/bin/gui/LinkImage_GUI$2.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/LinkImage_GUI$3.class b/Dozentenmodul/bin/gui/LinkImage_GUI$3.class
index c6115895..6872589c 100644
--- a/Dozentenmodul/bin/gui/LinkImage_GUI$3.class
+++ b/Dozentenmodul/bin/gui/LinkImage_GUI$3.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/LinkImage_GUI$4.class b/Dozentenmodul/bin/gui/LinkImage_GUI$4.class
index 1c0ad2e0..d56819a3 100644
--- a/Dozentenmodul/bin/gui/LinkImage_GUI$4.class
+++ b/Dozentenmodul/bin/gui/LinkImage_GUI$4.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/LinkImage_GUI$5.class b/Dozentenmodul/bin/gui/LinkImage_GUI$5.class
index a666be6d..d4ea86c6 100644
--- a/Dozentenmodul/bin/gui/LinkImage_GUI$5.class
+++ b/Dozentenmodul/bin/gui/LinkImage_GUI$5.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/LinkImage_GUI$6.class b/Dozentenmodul/bin/gui/LinkImage_GUI$6.class
index 0b50d8a6..f1cd179d 100644
--- a/Dozentenmodul/bin/gui/LinkImage_GUI$6.class
+++ b/Dozentenmodul/bin/gui/LinkImage_GUI$6.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/LinkImage_GUI$7.class b/Dozentenmodul/bin/gui/LinkImage_GUI$7.class
index c2ded647..40df5002 100644
--- a/Dozentenmodul/bin/gui/LinkImage_GUI$7.class
+++ b/Dozentenmodul/bin/gui/LinkImage_GUI$7.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/LinkImage_GUI.class b/Dozentenmodul/bin/gui/LinkImage_GUI.class
index fdbfbc72..d9cfd2ea 100644
--- a/Dozentenmodul/bin/gui/LinkImage_GUI.class
+++ b/Dozentenmodul/bin/gui/LinkImage_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$1.class b/Dozentenmodul/bin/gui/MainMenue_GUI$1.class
index 57b08981..ae9c04f3 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$1.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$1.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$10.class b/Dozentenmodul/bin/gui/MainMenue_GUI$10.class
index d339898a..12eefe5e 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$10.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$10.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$11.class b/Dozentenmodul/bin/gui/MainMenue_GUI$11.class
index 1021e00c..16af50d0 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$11.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$11.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$12.class b/Dozentenmodul/bin/gui/MainMenue_GUI$12.class
index d16963df..fab4ce2b 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$12.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$12.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$2.class b/Dozentenmodul/bin/gui/MainMenue_GUI$2.class
index 77e0fbd6..a19fcb59 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$2.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$2.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$3.class b/Dozentenmodul/bin/gui/MainMenue_GUI$3.class
index 6e35da4f..9ae0a452 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$3.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$3.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$4.class b/Dozentenmodul/bin/gui/MainMenue_GUI$4.class
index 556b11db..995f1202 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$4.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$4.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$5.class b/Dozentenmodul/bin/gui/MainMenue_GUI$5.class
index 953c5c22..0317cac0 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$5.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$5.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$6.class b/Dozentenmodul/bin/gui/MainMenue_GUI$6.class
index 69b80c5f..416d44d4 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$6.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$6.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$7.class b/Dozentenmodul/bin/gui/MainMenue_GUI$7.class
index cb9cbe82..c991ffd3 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$7.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$7.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$8.class b/Dozentenmodul/bin/gui/MainMenue_GUI$8.class
index fc114f01..ef110e30 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$8.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$8.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI$9.class b/Dozentenmodul/bin/gui/MainMenue_GUI$9.class
index 60491c0b..a81507c6 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI$9.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI$9.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/MainMenue_GUI.class b/Dozentenmodul/bin/gui/MainMenue_GUI.class
index 9c8c5535..c6188012 100644
--- a/Dozentenmodul/bin/gui/MainMenue_GUI.class
+++ b/Dozentenmodul/bin/gui/MainMenue_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI$9.class b/Dozentenmodul/bin/gui/SearchImage_GUI$9.class
index 28b5e4df..679115d8 100644
--- a/Dozentenmodul/bin/gui/SearchImage_GUI$9.class
+++ b/Dozentenmodul/bin/gui/SearchImage_GUI$9.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/SearchImage_GUI.class b/Dozentenmodul/bin/gui/SearchImage_GUI.class
index 87386672..d014f8d0 100644
--- a/Dozentenmodul/bin/gui/SearchImage_GUI.class
+++ b/Dozentenmodul/bin/gui/SearchImage_GUI.class
Binary files differ
diff --git a/Dozentenmodul/img/Image_zu_Veranstaltung_HDD.png b/Dozentenmodul/img/Image_zu_Veranstaltung_HDD.png
new file mode 100644
index 00000000..39b3bac6
--- /dev/null
+++ b/Dozentenmodul/img/Image_zu_Veranstaltung_HDD.png
Binary files differ
diff --git a/Dozentenmodul/src/GUI/EingabeVeranstaltungAllgemein_GUI.java b/Dozentenmodul/src/GUI/EingabeVeranstaltungAllgemein_GUI.java
index f550c2b9..5b2d4751 100644
--- a/Dozentenmodul/src/GUI/EingabeVeranstaltungAllgemein_GUI.java
+++ b/Dozentenmodul/src/GUI/EingabeVeranstaltungAllgemein_GUI.java
@@ -60,8 +60,6 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
// aktiv sein darf
boolean isDateOrderCorrect, isDateMaxLifeTimeCorrect,
isAllInformationReady = false;
-
-
/**
* Launch the application.
@@ -251,6 +249,7 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
txtFldVeranstaltungsname = new JTextField();
txtFldVeranstaltungsname.setColumns(10);
txtFldVeranstaltungsname.setBounds(200, 22, 347, 20);
+ txtFldVeranstaltungsname.setText(Lecture.lecture.getName());
panel_2.add(txtFldVeranstaltungsname);
JTextArea textArea = new JTextArea();
@@ -273,6 +272,7 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
description = new JTextArea();
description.setFont(new Font("Tahoma", Font.PLAIN, 11));
description.setLineWrap(true);
+ description.setText(Lecture.lecture.getDesc());
scrollPane.add(description);
description.setBounds(0, 0, 4, 22);
scrollPane.add(description);
@@ -282,6 +282,13 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
// Monate in der Zukunft
// liegen
dateChooserend.setDate(endDate);
+ if (Lecture.lecture.getEnddate() == null) {
+ // is not defined yet
+ dateChooserend.setDate(endDate);
+ } else {
+ // already defined from last visit on this page
+ dateChooserend.setDate(Lecture.lecture.getEnddate());
+ }
dateChooserend.setDateFormatString("yyyy-MM-dd hh:mm:ss");
dateChooserend.setBounds(404, 188, 143, 20);
panel_2.add(dateChooserend);
@@ -291,9 +298,14 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
panel_2.add(lblBis);
dateChooserstart = new JDateChooser();
- dateChooserstart.setDate(startDate);
+ if (Lecture.lecture.getStartdate() == null) {
+ // is not defined yet
+ dateChooserstart.setDate(startDate);
+ } else {
+ // already defined from last visit on this page
+ dateChooserstart.setDate(Lecture.lecture.getStartdate());
+ }
dateChooserstart.setDateFormatString("yyyy-MM-dd hh:mm:ss");
-
dateChooserstart.setBounds(226, 188, 143, 20);
panel_2.add(dateChooserstart);
@@ -302,15 +314,13 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
panel_2.add(label_6);
JLabel label_10 = new JLabel("G\u00FCltigkeitsdatum: *");
- label_10.setBounds(10, 188, 250, 14);
+ label_10.setBounds(10, 194, 127, 14);
panel_2.add(label_10);
JLabel label_11 = new JLabel("Aktiv:");
label_11.setBounds(10, 229, 127, 14);
panel_2.add(label_11);
-
-
radioButtonyes = new JRadioButton("Ja");
radioButtonyes.setSelected(true);
radioButtonyes.setBounds(200, 225, 73, 23);
@@ -332,9 +342,13 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
radioButtonno.setBounds(296, 225, 73, 23);
panel_2.add(radioButtonno);
- JLabel label_12 = new JLabel("(Im VMChooser sichtbar)");
- label_12.setBounds(10, 254, 127, 14);
- panel_2.add(label_12);
+ JLabel lblimVmchooserSichtbar = new JLabel("(im VMChooser sichtbar)");
+ lblimVmchooserSichtbar.setBounds(10, 245, 127, 14);
+ panel_2.add(lblimVmchooserSichtbar);
+
+ JLabel lblmaxMonate = new JLabel("(max. 6 Monate)");
+ lblmaxMonate.setBounds(10, 208, 127, 14);
+ panel_2.add(lblmaxMonate);
{
JPanel buttonPane = new JPanel();
buttonPane.setBounds(0, 640, 597, 33);
@@ -405,21 +419,25 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
|| description.getText().isEmpty() == true) {
// mind 1 Textfeld ist leer
isAllInformationReady = false;
- JOptionPane.showMessageDialog(null,
- "Bitte geben Sie einen Veranstaltungsnamen und eine Beschreibung ein.", "Datum fehlerhaft",
- JOptionPane.ERROR_MESSAGE);
+ JOptionPane
+ .showMessageDialog(
+ null,
+ "Bitte geben Sie einen Veranstaltungsnamen und eine Beschreibung ein.",
+ "Datum fehlerhaft",
+ JOptionPane.ERROR_MESSAGE);
} else {
// Textfelder bereit
isAllInformationReady = true;
}
- //welcher Radiobutton ist geklickt?
+ // welcher Radiobutton ist geklickt?
if (radioButtonyes.isSelected() == true) {
Lecture.lecture.setActive(true);
} else {
Lecture.lecture.setActive(false);
}
- //Prüfe ob alle Eingaben korrekt sind, dann mache weiter
+ // Prüfe ob alle Eingaben korrekt sind, dann mache
+ // weiter
if (isAllInformationReady == true
&& isDateMaxLifeTimeCorrect == true
&& isDateOrderCorrect == true) {
diff --git a/Dozentenmodul/src/GUI/ExtendedSearch_GUI.java b/Dozentenmodul/src/GUI/ExtendedSearch_GUI.java
index ab9693a7..7f042cae 100644
--- a/Dozentenmodul/src/GUI/ExtendedSearch_GUI.java
+++ b/Dozentenmodul/src/GUI/ExtendedSearch_GUI.java
@@ -44,6 +44,7 @@ public class ExtendedSearch_GUI extends JFrame {
ExtendedSearch_GUI dialog = new ExtendedSearch_GUI();
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
dialog.setVisible(true);
+
} catch (Exception e) {
e.printStackTrace();
}
diff --git a/Dozentenmodul/src/GUI/FTPUploader_GUI.java b/Dozentenmodul/src/GUI/FTPUploader_GUI.java
index f435f3ff..eaaf9544 100644
--- a/Dozentenmodul/src/GUI/FTPUploader_GUI.java
+++ b/Dozentenmodul/src/GUI/FTPUploader_GUI.java
@@ -176,9 +176,9 @@ public class FTPUploader_GUI extends JFrame implements PropertyChangeListener {
progressBar.setBounds(102, 202, 485, 30);
contentPanel.add(progressBar);
- JLabel label = new JLabel("Downloadgeschwindigkeit:");
- label.setBounds(102, 243, 141, 14);
- contentPanel.add(label);
+ JLabel lblUploadgeschwindigkeit = new JLabel("Uploadgeschwindigkeit:");
+ lblUploadgeschwindigkeit.setBounds(102, 243, 141, 14);
+ contentPanel.add(lblUploadgeschwindigkeit);
JLabel label_1 = new JLabel("Fertig:");
label_1.setBounds(102, 293, 46, 14);
diff --git a/Dozentenmodul/src/GUI/LinkImage_GUI.java b/Dozentenmodul/src/GUI/LinkImage_GUI.java
index b8b1920e..b4052778 100644
--- a/Dozentenmodul/src/GUI/LinkImage_GUI.java
+++ b/Dozentenmodul/src/GUI/LinkImage_GUI.java
@@ -1,6 +1,5 @@
package gui;
-
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
@@ -29,6 +28,7 @@ import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
+import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JScrollPane;
@@ -61,11 +61,11 @@ public class LinkImage_GUI extends JFrame {
JComboBox<String> comboBox;
JTable tableAllImages;
private JTextField textFieldName;
- String[] titles= {"Image-Name", "Lizenzpflichtig", "OS", "Veranstaltung", "Verantwortlicher", "Letztes Update", "Schlagwort"};
- ThriftConnection thrift=new ThriftConnection();
- Client client=thrift.getThriftConnection();
+ String[] titles = { "Image-Name", "Lizenzpflichtig", "OS", "Veranstaltung",
+ "Verantwortlicher", "Letztes Update", "Schlagwort" };
+ ThriftConnection con = new ThriftConnection();
+ Client client = con.getThriftConnection();
-
/**
* Launch the application.
*/
@@ -88,9 +88,14 @@ public class LinkImage_GUI extends JFrame {
public void windowClosing(WindowEvent arg0) {
System.exit(0);
}
+
+ @Override
+ public void windowOpened(WindowEvent arg0) {
+ textFieldName.requestFocusInWindow();
+ }
});
setResizable(false);
-
+
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (ClassNotFoundException | InstantiationException
@@ -100,15 +105,13 @@ public class LinkImage_GUI extends JFrame {
}
setTitle("bwLehrpool Suite *Prototyp*");
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
- int top=(screenSize.height - 603) / 2;
- int left=(screenSize.width - 722) / 2;
+ int top = (screenSize.height - 603) / 2;
+ int left = (screenSize.width - 722) / 2;
setBounds(left, top, 603, 722);
-
- final DefaultTableModel modelAll = new DefaultTableModel( titles, 0 );
- final DefaultTableModel model = new DefaultTableModel( titles, 0 );
-
-
+ final DefaultTableModel modelAll = new DefaultTableModel(titles, 0);
+ final DefaultTableModel model = new DefaultTableModel(titles, 0);
+
getContentPane().setLayout(null);
{
JPanel panel = new JPanel();
@@ -122,11 +125,12 @@ public class LinkImage_GUI extends JFrame {
panel.add(lblNewLabel);
lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 18));
}
-
+
JTextPane txtpnBitteWhlenSie = new JTextPane();
txtpnBitteWhlenSie.setEditable(false);
txtpnBitteWhlenSie.setBackground(SystemColor.menu);
- txtpnBitteWhlenSie.setText("Hier k\u00F6nnen Sie nach Ihrem gew\u00FCnschten VL-Image suchen und dieses f\u00FCr weitere Schritte ausw\u00E4hlen");
+ txtpnBitteWhlenSie
+ .setText("Hier k\u00F6nnen Sie nach Ihrem gew\u00FCnschten VL-Image suchen und dieses f\u00FCr weitere Schritte ausw\u00E4hlen");
txtpnBitteWhlenSie.setBounds(10, 36, 509, 32);
panel.add(txtpnBitteWhlenSie);
}
@@ -135,72 +139,70 @@ public class LinkImage_GUI extends JFrame {
contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
getContentPane().add(contentPanel);
contentPanel.setLayout(null);
-
+
JPanel panel_1 = new JPanel();
panel_1.setBackground(SystemColor.menu);
- panel_1.setBorder(new TitledBorder(null, "Filterfunktionen", TitledBorder.LEADING, TitledBorder.TOP, null, null));
+ panel_1.setBorder(new TitledBorder(null, "Filterfunktionen",
+ TitledBorder.LEADING, TitledBorder.TOP, null, null));
panel_1.setBounds(10, 49, 557, 131);
contentPanel.add(panel_1);
panel_1.setLayout(null);
-
+
JLabel lblNewLabel_2 = new JLabel("Anzeigename:");
lblNewLabel_2.setBounds(10, 30, 250, 20);
panel_1.add(lblNewLabel_2);
-
+
JLabel lblInternetIstInnerhalb = new JLabel("Betriebssystem:");
lblInternetIstInnerhalb.setBounds(10, 58, 250, 20);
panel_1.add(lblInternetIstInnerhalb);
-
+
textFieldName = new JTextField();
textFieldName.addKeyListener(new KeyAdapter() {
@Override
public void keyReleased(KeyEvent e) {
- String stext=textFieldName.getText();
+ String stext = textFieldName.getText();
modelAll.setRowCount(0);
initTableModel(modelAll);
-
- if(stext!="")
- for(int i=0;i<modelAll.getRowCount();i++){
-
- if(modelAll.getValueAt(i, 0).toString().startsWith(stext)){
-
- }
- else
- {
- modelAll.removeRow(i);
+
+ if (stext != "")
+ for (int i = 0; i < modelAll.getRowCount(); i++) {
+
+ if (modelAll.getValueAt(i, 0).toString()
+ .startsWith(stext)) {
+
+ } else {
+ modelAll.removeRow(i);
+ }
}
- }
-
-
+
}
-
-
+
});
textFieldName.setBounds(270, 30, 250, 20);
panel_1.add(textFieldName);
textFieldName.setColumns(10);
-
- JLabel lblErweiterteSuche = new JLabel("<html><u>Erweiterte Suche</u></html>");
+
+ JLabel lblErweiterteSuche = new JLabel(
+ "<html><u>Erweiterte Suche</u></html>");
lblErweiterteSuche.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent arg0) {
- ExtendedSearch_GUI es=new ExtendedSearch_GUI();
+ ExtendedSearch_GUI es = new ExtendedSearch_GUI();
es.setVisible(true);
}
});
lblErweiterteSuche.setForeground(Color.BLUE);
-
+
lblErweiterteSuche.setBounds(431, 106, 89, 14);
panel_1.add(lblErweiterteSuche);
-
+
comboBox = new JComboBox<String>();
try {
- List<String> list=client.getAllOS();
+ List<String> list = client.getAllOS();
comboBox.addItem("");
- for(int i=0;i<list.size();i++)
- {
- comboBox.addItem(list.get(i));
+ for (int i = 0; i < list.size(); i++) {
+ comboBox.addItem(list.get(i));
}
} catch (TException e2) {
// TODO Auto-generated catch block
@@ -210,91 +212,85 @@ public class LinkImage_GUI extends JFrame {
public void actionPerformed(ActionEvent arg0) {
modelAll.setRowCount(0);
initTableModel(modelAll);
- String selItem=comboBox.getSelectedItem().toString();
- if(selItem!="")
- {
- for(int i=0;i<modelAll.getRowCount();i++){
-
- if(modelAll.getValueAt(i, 2).equals(selItem)){
-
- }
- else
- {
- modelAll.removeRow(i);
+ String selItem = comboBox.getSelectedItem().toString();
+ if (selItem != "") {
+ for (int i = 0; i < modelAll.getRowCount(); i++) {
+
+ if (modelAll.getValueAt(i, 2).equals(selItem)) {
+
+ } else {
+ modelAll.removeRow(i);
+ }
}
+
}
-
-
- }
}
});
comboBox.setBounds(270, 58, 250, 20);
panel_1.add(comboBox);
-
+
JLabel lblHauptmen = new JLabel("Hauptmen\u00FC");
lblHauptmen.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent arg0) {
-
+
LinkImage_GUI.this.setVisible(false);
- MainMenue_GUI main=new MainMenue_GUI();
+ MainMenue_GUI main = new MainMenue_GUI();
main.setVisible(true);
}
});
lblHauptmen.setForeground(Color.BLUE);
lblHauptmen.setBounds(10, 11, 61, 14);
contentPanel.add(lblHauptmen);
-
+
JLabel label_1 = new JLabel(">");
label_1.setBounds(69, 11, 13, 14);
contentPanel.add(label_1);
-
+
JLabel lblVlimage = new JLabel("VL-Image");
lblVlimage.setForeground(Color.BLUE);
lblVlimage.setBounds(81, 11, 45, 14);
contentPanel.add(lblVlimage);
-
+
JLabel label_2 = new JLabel(">");
label_2.setBounds(133, 11, 13, 14);
contentPanel.add(label_2);
-
+
JLabel lblNewLabel_1 = new JLabel("Imageauswahl");
lblNewLabel_1.setBounds(146, 11, 85, 14);
contentPanel.add(lblNewLabel_1);
-
+
JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
tabbedPane.setBounds(10, 197, 557, 300);
contentPanel.add(tabbedPane);
-
+
JScrollPane scrollPaneMyImage = new JScrollPane();
- JTable tablemyImages=new JTable();
+ JTable tablemyImages = new JTable();
tablemyImages.setModel(model);
tablemyImages.getColumnModel().getColumn(1).sizeWidthToFit();
tablemyImages.getColumnModel().getColumn(2).sizeWidthToFit();
tablemyImages.getColumnModel().getColumn(3).sizeWidthToFit();
tablemyImages.getColumnModel().getColumn(4).sizeWidthToFit();
tablemyImages.getColumnModel().getColumn(5).sizeWidthToFit();
-
+
JScrollPane scrollPaneAllImages = new JScrollPane();
- tableAllImages=new JTable();
+ tableAllImages = new JTable();
tableAllImages.setModel(modelAll);
tableAllImages.getColumnModel().getColumn(1).sizeWidthToFit();
tableAllImages.getColumnModel().getColumn(2).sizeWidthToFit();
tableAllImages.getColumnModel().getColumn(3).sizeWidthToFit();
tableAllImages.getColumnModel().getColumn(4).sizeWidthToFit();
tableAllImages.getColumnModel().getColumn(5).sizeWidthToFit();
-
-
-
- scrollPaneAllImages.setViewportView(tableAllImages);
- tabbedPane.addTab("Alle", null, scrollPaneAllImages, null);
+
+ scrollPaneAllImages.setViewportView(tableAllImages);
+ tabbedPane.addTab("Alle", null, scrollPaneAllImages, null);
scrollPaneMyImage.setViewportView(tablemyImages);
tabbedPane.addTab("Meine Images", null, scrollPaneMyImage, null);
-
+
JScrollPane scrollPaneCoopImages = new JScrollPane();
- JTable tableCoopImages=new JTable();
+ JTable tableCoopImages = new JTable();
tableCoopImages.setModel(model);
tableCoopImages.getColumnModel().getColumn(1).sizeWidthToFit();
tableCoopImages.getColumnModel().getColumn(2).sizeWidthToFit();
@@ -303,10 +299,12 @@ public class LinkImage_GUI extends JFrame {
tableCoopImages.getColumnModel().getColumn(5).sizeWidthToFit();
scrollPaneCoopImages.setViewportView(tableCoopImages);
- tabbedPane.addTab("Kooperative Images", null, scrollPaneCoopImages, null);
-
+ tabbedPane.addTab("Kooperative Images", null, scrollPaneCoopImages,
+ null);
+ tabbedPane.setEnabledAt(2, false);
+
JScrollPane scrollPanePublicImages = new JScrollPane();
- JTable tablePublicImages=new JTable();
+ JTable tablePublicImages = new JTable();
tablePublicImages.setModel(model);
tablePublicImages.getColumnModel().getColumn(1).sizeWidthToFit();
tablePublicImages.getColumnModel().getColumn(2).sizeWidthToFit();
@@ -315,10 +313,12 @@ public class LinkImage_GUI extends JFrame {
tablePublicImages.getColumnModel().getColumn(5).sizeWidthToFit();
scrollPanePublicImages.setViewportView(tablePublicImages);
- tabbedPane.addTab("\u00D6ffentliche Images", null, scrollPanePublicImages, null);
-
+ tabbedPane.addTab("\u00D6ffentliche Images", null,
+ scrollPanePublicImages, null);
+ tabbedPane.setEnabledAt(3, false);
+
JScrollPane scrollPanePublicVorlagen = new JScrollPane();
- JTable tablePublicVorlagen=new JTable();
+ JTable tablePublicVorlagen = new JTable();
tablePublicVorlagen.setModel(model);
tablePublicVorlagen.getColumnModel().getColumn(1).sizeWidthToFit();
tablePublicVorlagen.getColumnModel().getColumn(2).sizeWidthToFit();
@@ -327,9 +327,11 @@ public class LinkImage_GUI extends JFrame {
tablePublicVorlagen.getColumnModel().getColumn(5).sizeWidthToFit();
scrollPanePublicVorlagen.setViewportView(tablePublicVorlagen);
- tabbedPane.addTab("\u00D6ffentliche Vorlagen", null, scrollPanePublicVorlagen, null);
-
- initTableModel(modelAll);
+ tabbedPane.addTab("\u00D6ffentliche Vorlagen", null,
+ scrollPanePublicVorlagen, null);
+ tabbedPane.setEnabledAt(4, false);
+
+ initTableModel(modelAll);
{
JPanel buttonPane = new JPanel();
buttonPane.setBounds(0, 640, 597, 33);
@@ -337,89 +339,127 @@ public class LinkImage_GUI extends JFrame {
buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
getContentPane().add(buttonPane);
{
- JButton okButton = new JButton("Zur\u00FCck");
- okButton.addActionListener(new ActionListener() {
+ JButton cancelButton = new JButton("Zur\u00FCck");
+ cancelButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
-
- MainMenue_GUI main=new MainMenue_GUI();
- main.setVisible(true);
+ con.closeThriftConnection();
+ EingabeVeranstaltungAllgemein_GUI eVAG = new EingabeVeranstaltungAllgemein_GUI();
+ eVAG.setVisible(true);
dispose();
}
});
- okButton.setActionCommand("OK");
- buttonPane.add(okButton);
- getRootPane().setDefaultButton(okButton);
+ cancelButton.setActionCommand("CANCEL");
+ buttonPane.add(cancelButton);
+ getRootPane().setDefaultButton(cancelButton);
}
{
- JButton cancelButton = new JButton("Veranstaltung erzeugen und abschlie\u00DFen");
- cancelButton.addActionListener(new ActionListener() {
+ JButton doLinkButton = new JButton(
+ "Veranstaltung erzeugen und abschlie\u00DFen");
+ doLinkButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
-
- String imagename=tableAllImages.getValueAt(tableAllImages.getSelectedRow(), 0).toString();
+
+ String imagename = tableAllImages.getValueAt(
+ tableAllImages.getSelectedRow(), 0).toString();
try {
- DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
- System.out.println(formatter.format(Lecture.lecture.getStartdate()).toString());
- client.writeLecturedata(Lecture.lecture.getName(), Lecture.lecture.getShortDesc(), Lecture.lecture.getDesc(), formatter.format(Lecture.lecture.getStartdate()).toString(), formatter.format(Lecture.lecture.getEnddate()).toString(), Lecture.lecture.isActive(), imagename, person.verantwortlicher.getVorname(), person.verantwortlicher.getName(), person.verantwortlicher.getHochschule(), person.verantwortlicher.getEMail(), person.verantwortlicher.getTel(), person.verantwortlicher.getFakultät());
+ DateFormat formatter = new SimpleDateFormat(
+ "yyyy-MM-dd hh:mm:ss");
+ System.out.println("Veranstaltung anlegen um: "
+ + formatter.format(
+ Lecture.lecture.getStartdate())
+ .toString());
+ client.writeLecturedata(
+ Lecture.lecture.getName(),
+ Lecture.lecture.getShortDesc(),
+ Lecture.lecture.getDesc(),
+ formatter.format(
+ Lecture.lecture.getStartdate())
+ .toString(),
+ formatter.format(
+ Lecture.lecture.getEnddate())
+ .toString(), Lecture.lecture
+ .isActive(), imagename,
+ person.verantwortlicher.getVorname(),
+ person.verantwortlicher.getName(),
+ person.verantwortlicher.getHochschule(),
+ person.verantwortlicher.getEMail(),
+ person.verantwortlicher.getTel(),
+ person.verantwortlicher.getFakultät());
+ JOptionPane
+ .showMessageDialog(
+ null,
+ "Ihre Veranstaltung wurde erfolgreich angelegt. Sie kehren nun zum Hauptmenü zurück.",
+ "Veranstaltung angelegt",
+ JOptionPane.PLAIN_MESSAGE);
} catch (TException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
+ JOptionPane
+ .showMessageDialog(
+ null,
+ "Beim Anlegen Ihrer Veranstaltung ist ein Fehler aufgetreten.",
+ "Error", JOptionPane.ERROR_MESSAGE);
}
+ con.closeThriftConnection();
dispose();
-
+
}
});
- cancelButton.setActionCommand("Cancel");
- buttonPane.add(cancelButton);
+ doLinkButton.setActionCommand("OK");
+ buttonPane.add(doLinkButton);
}
}
-
+
JSeparator separator = new JSeparator();
separator.setBounds(0, 78, 597, 2);
getContentPane().add(separator);
-
+
JSeparator separator_1 = new JSeparator();
separator_1.setBounds(0, 627, 597, 2);
getContentPane().add(separator_1);
-
+
JMenuBar menuBar = new JMenuBar();
setJMenuBar(menuBar);
-
+
JMenu mnNewMenu = new JMenu("Suchen");
menuBar.add(mnNewMenu);
-
+
JMenuItem mntmVlSuche = new JMenuItem("VL Suche");
mnNewMenu.add(mntmVlSuche);
-
+
JMenu mnNewMenu_1 = new JMenu("Hilfe");
menuBar.add(mnNewMenu_1);
-
+
JMenuItem mntmFaq = new JMenuItem("FAQ");
mnNewMenu_1.add(mntmFaq);
-
+
JMenuItem mntmOtrs = new JMenuItem("OTRS");
mnNewMenu_1.add(mntmOtrs);
-
+
}
-
- public DefaultTableModel initTableModel(DefaultTableModel model){
+
+ public DefaultTableModel initTableModel(DefaultTableModel model) {
List<server.Image> images;
try {
images = client.getImageList();
- Iterator<server.Image> i=images.iterator();
+ Iterator<server.Image> i = images.iterator();
List<Object[]> ListObj = new ArrayList<Object[]>();
- int x=0;
-
- while(i.hasNext())
- {
-
+ int x = 0;
+
+ while (i.hasNext()) {
+
i.next();
- Object [] obj={images.get(x).getImageName(),images.get(x).getLicenseRestriction(),images.get(x).getOsName(),images.get(x).getLectureName(),images.get(x).getUpdateTime(),images.get(x).getUserData()};
+ Object[] obj = { images.get(x).getImageName(),
+ images.get(x).getLicenseRestriction(),
+ images.get(x).getOsName(),
+ images.get(x).getLectureName(),
+ images.get(x).getUpdateTime(),
+ images.get(x).getUserData() };
ListObj.add(obj);
model.addRow(ListObj.get(x));
x++;
-
+
}
-
+
return model;
} catch (TException e1) {
// TODO Auto-generated catch block
@@ -427,7 +467,5 @@ public class LinkImage_GUI extends JFrame {
}
return model;
}
-
- }
-
+}
diff --git a/Dozentenmodul/src/GUI/MainMenue_GUI.java b/Dozentenmodul/src/GUI/MainMenue_GUI.java
index 82031914..7cf7face 100644
--- a/Dozentenmodul/src/GUI/MainMenue_GUI.java
+++ b/Dozentenmodul/src/GUI/MainMenue_GUI.java
@@ -39,7 +39,9 @@ public class MainMenue_GUI extends JFrame {
private final JPanel contentPanel = new JPanel();
String[] result;
- String descNewImage, descEditImage, descDeleteImage, descSearchImage, descNewLecture, descEditLecture, descDeleteLecture, descSearchLecture = "";
+ String descNewImage, descEditImage, descDeleteImage, descSearchImage,
+ descNewLecture, descEditLecture, descDeleteLecture,
+ descSearchLecture = "";
JRadioButton rdbtnImageNew;
JRadioButton rdbtnImageEdit;
JRadioButton rdbtnImageSearchDownload;
@@ -177,9 +179,9 @@ public class MainMenue_GUI extends JFrame {
txtDesc.setBackground(SystemColor.menu);
scrollPaneDesc.add(txtDesc);
// Pro AUswahl
- txtDesc.setText("Legen Sie ein neues Image an und laden Sie anschließend die passende .vmdk-Datei hoch. Voraussetzung für Veranstaltung.");
+ txtDesc.setText("Legen Sie ein neues Image an und laden Sie anschließend die passende .vmdk-Datei hoch. Ein Image (wenn auch von einem anderen Dozenten) ist die Voraussetzung für eine Veranstaltung.");
panelDesc.add(scrollPaneDesc);
-
+
JPanel panelVeranstaltung = new JPanel();
panelVeranstaltung.setLayout(null);
panelVeranstaltung.setBorder(new TitledBorder(UIManager
@@ -282,62 +284,60 @@ public class MainMenue_GUI extends JFrame {
scrollPaneNews.add(txtNews);
panelNews.add(scrollPaneNews);
-
/*
* Funktion Texte für das Klicken der RadioButtons
*/
rdbtnImageNew.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
- descNewImage="Legen Sie ein neues Image an und laden Sie anschließend die passende .vmdk-Datei hoch. Voraussetzung für Veranstaltung.";
+ descNewImage = "Legen Sie ein neues Image an und laden Sie anschließend die passende .vmdk-Datei hoch. Ein Image (wenn auch von einem anderen Dozenten) ist die Voraussetzung für eine Veranstaltung.";
txtDesc.setText(descNewImage);
}
});
rdbtnImageEdit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descEditImage="Bearbeiten Sie die hinterlegten Informationen zu einem Image oder laden Sie eine neue .vmdk-Datei hoch.";
+ descEditImage = "Bearbeiten Sie die hinterlegten Informationen zu einem Image oder laden Sie eine neue .vmdk-Datei hoch.";
txtDesc.setText(descEditImage);
}
});
rdbtnImageDelete.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descDeleteImage="Suchen Sie alte und nicht mehr benötigte Images und löschen Sie diese.";
+ descDeleteImage = "Suchen Sie alte und nicht mehr benötigte Images und löschen Sie diese.";
txtDesc.setText(descDeleteImage);
}
});
rdbtnImageSearchDownload.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descSearchImage="Suchen Sie nach bestimmten Images oder verschaffen Sie sich einen Überblick über alle verfügbaren Images. Sie können gewünschte umgehend herunterladen.";
+ descSearchImage = "Suchen Sie nach bestimmten Images oder verschaffen Sie sich einen Überblick über alle verfügbaren Images. Sie können gewünschte Images umgehend herunterladen.";
txtDesc.setText(descSearchImage);
}
});
rdbtnVeranstaltungNew.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descNewLecture="Legen Sie eine neue Veranstaltung an und verknüpfen Sie diese mit einem bereits vorhandenem Image.";
+ descNewLecture = "Legen Sie eine neue Veranstaltung an und verknüpfen Sie diese mit einem bereits vorhandenem Image. Ihre neue Veranstaltung kann auch auf dem Image eines anderen Dozenten beruhen.";
txtDesc.setText(descNewLecture);
}
});
rdbtnVeranstaltungEdit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descEditLecture="Bearbeiten Sie die hinterlegten Informationen zu einer Veranstaltung.";
+ descEditLecture = "Bearbeiten Sie die hinterlegten Informationen zu einer Veranstaltung.";
txtDesc.setText(descEditLecture);
}
});
rdbtnVeranstaltungDelete.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descDeleteLecture="Suchen und löschen Sie eine Veranstaltung. Das hiermit verbundene Image bleibt erhalten.";
+ descDeleteLecture = "Suchen und löschen Sie eine Veranstaltung. Das hiermit verbundene Image bleibt erhalten.";
}
});
rdbtnVeranstaltungSearch.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descSearchLecture="Suchen Sie nach bestimmten Veranstaltungen oder verschaffen Sie sich einen Überblick über alle verfügbaren Veranstaltungen.";
+ descSearchLecture = "Suchen Sie nach bestimmten Veranstaltungen oder verschaffen Sie sich einen Überblick über alle verfügbaren Veranstaltungen. Eventuell gibt es bereits etwas passendes für Ihre Vorlesung.";
txtDesc.setText(descSearchLecture);
}
});
/*
* Ende der Radiobuttons
*/
-
-
+
JLabel lblGrafik = new JLabel("");
// ToolTipp für Grafik
lblGrafik
@@ -348,14 +348,15 @@ public class MainMenue_GUI extends JFrame {
+ "erstellt werden, ohne ein neues Image hochladen zu m\u00FCssen. <br> <br> <br>"
+ "<b>Image:</b> Das Image enth\u00E4lt die ben\u00F6tigte Software, die im <br>"
+ "virtuellen Labor ben\u00F6tigt wird. Es wird von genau einem Dozenten <br>"
- + "angelegt und besitzt einen allgemeinen Namen, z.B. \"Programmieren\". <br> <br> <br>"
+ + "angelegt und besitzt einen allgemeinen Namen, z.B. \"Programmieren\". <br>"
+ + "Bei einem Image handelt es sich um eine Datei vom Typ VMDK. <br> <br> <br>"
+ "<b>Veranstaltung:</b> Es k\u00F6nnen nun, basierend auf einem Image,<br>"
+ " beliebig viele Veranstaltungen von unterschiedlichen Dozenten erstellt <br>"
+ "werden. Diese k\u00F6nnten z.B. konkret \"Web-Entwicklung\" oder \"K\u00FCnstliche <br>"
+ "Intelligenz\" lauten und referenzieren dabei auf das allgemeine Image <br>"
+ "\"Programmieren\".</html>");
lblGrafik.setIcon(new ImageIcon(MainMenue_GUI.class
- .getResource("/Image_zu_Veranstaltung_gr\u00FCn.png")));
+ .getResource("/Image_zu_Veranstaltung_HDD.png")));
// ToolTipp lange anzeigen - 60sec
ToolTipManager.sharedInstance().setDismissDelay(60000);
ToolTipManager.sharedInstance().registerComponent(lblGrafik);
@@ -377,7 +378,7 @@ public class MainMenue_GUI extends JFrame {
getContentPane().add(buttonPane);
{
JButton continueButton = new JButton("Weiter");
-
+
continueButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
@@ -403,7 +404,7 @@ public class MainMenue_GUI extends JFrame {
av.setVisible(true);
dispose();
} else if (rdbtnVeranstaltungEdit.isSelected() == true) {
- SearchEditLecture_GUI sl=new SearchEditLecture_GUI();
+ SearchEditLecture_GUI sl = new SearchEditLecture_GUI();
sl.setVisible(true);
dispose();
}
@@ -437,9 +438,6 @@ public class MainMenue_GUI extends JFrame {
JMenuItem mntmOtrs = new JMenuItem("OTRS");
mnNewMenu_1.add(mntmOtrs);
- }//end main
-
-
-
-
-}//end class
+ }// end main
+
+}// end class
diff --git a/Dozentenmodul/src/GUI/SearchImage_GUI.java b/Dozentenmodul/src/GUI/SearchImage_GUI.java
index 9fc66add..53257f48 100644
--- a/Dozentenmodul/src/GUI/SearchImage_GUI.java
+++ b/Dozentenmodul/src/GUI/SearchImage_GUI.java
@@ -388,6 +388,7 @@ public class SearchImage_GUI extends JFrame {
continueButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
+ con.closeThriftConnection();
EditImageAllgemein_GUI ea = new EditImageAllgemein_GUI();
ea.setVisible(true);
dispose();
diff --git a/Dozentenmodul/src/gui/EingabeVeranstaltungAllgemein_GUI.java b/Dozentenmodul/src/gui/EingabeVeranstaltungAllgemein_GUI.java
index f550c2b9..5b2d4751 100644
--- a/Dozentenmodul/src/gui/EingabeVeranstaltungAllgemein_GUI.java
+++ b/Dozentenmodul/src/gui/EingabeVeranstaltungAllgemein_GUI.java
@@ -60,8 +60,6 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
// aktiv sein darf
boolean isDateOrderCorrect, isDateMaxLifeTimeCorrect,
isAllInformationReady = false;
-
-
/**
* Launch the application.
@@ -251,6 +249,7 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
txtFldVeranstaltungsname = new JTextField();
txtFldVeranstaltungsname.setColumns(10);
txtFldVeranstaltungsname.setBounds(200, 22, 347, 20);
+ txtFldVeranstaltungsname.setText(Lecture.lecture.getName());
panel_2.add(txtFldVeranstaltungsname);
JTextArea textArea = new JTextArea();
@@ -273,6 +272,7 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
description = new JTextArea();
description.setFont(new Font("Tahoma", Font.PLAIN, 11));
description.setLineWrap(true);
+ description.setText(Lecture.lecture.getDesc());
scrollPane.add(description);
description.setBounds(0, 0, 4, 22);
scrollPane.add(description);
@@ -282,6 +282,13 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
// Monate in der Zukunft
// liegen
dateChooserend.setDate(endDate);
+ if (Lecture.lecture.getEnddate() == null) {
+ // is not defined yet
+ dateChooserend.setDate(endDate);
+ } else {
+ // already defined from last visit on this page
+ dateChooserend.setDate(Lecture.lecture.getEnddate());
+ }
dateChooserend.setDateFormatString("yyyy-MM-dd hh:mm:ss");
dateChooserend.setBounds(404, 188, 143, 20);
panel_2.add(dateChooserend);
@@ -291,9 +298,14 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
panel_2.add(lblBis);
dateChooserstart = new JDateChooser();
- dateChooserstart.setDate(startDate);
+ if (Lecture.lecture.getStartdate() == null) {
+ // is not defined yet
+ dateChooserstart.setDate(startDate);
+ } else {
+ // already defined from last visit on this page
+ dateChooserstart.setDate(Lecture.lecture.getStartdate());
+ }
dateChooserstart.setDateFormatString("yyyy-MM-dd hh:mm:ss");
-
dateChooserstart.setBounds(226, 188, 143, 20);
panel_2.add(dateChooserstart);
@@ -302,15 +314,13 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
panel_2.add(label_6);
JLabel label_10 = new JLabel("G\u00FCltigkeitsdatum: *");
- label_10.setBounds(10, 188, 250, 14);
+ label_10.setBounds(10, 194, 127, 14);
panel_2.add(label_10);
JLabel label_11 = new JLabel("Aktiv:");
label_11.setBounds(10, 229, 127, 14);
panel_2.add(label_11);
-
-
radioButtonyes = new JRadioButton("Ja");
radioButtonyes.setSelected(true);
radioButtonyes.setBounds(200, 225, 73, 23);
@@ -332,9 +342,13 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
radioButtonno.setBounds(296, 225, 73, 23);
panel_2.add(radioButtonno);
- JLabel label_12 = new JLabel("(Im VMChooser sichtbar)");
- label_12.setBounds(10, 254, 127, 14);
- panel_2.add(label_12);
+ JLabel lblimVmchooserSichtbar = new JLabel("(im VMChooser sichtbar)");
+ lblimVmchooserSichtbar.setBounds(10, 245, 127, 14);
+ panel_2.add(lblimVmchooserSichtbar);
+
+ JLabel lblmaxMonate = new JLabel("(max. 6 Monate)");
+ lblmaxMonate.setBounds(10, 208, 127, 14);
+ panel_2.add(lblmaxMonate);
{
JPanel buttonPane = new JPanel();
buttonPane.setBounds(0, 640, 597, 33);
@@ -405,21 +419,25 @@ public class EingabeVeranstaltungAllgemein_GUI extends JFrame {
|| description.getText().isEmpty() == true) {
// mind 1 Textfeld ist leer
isAllInformationReady = false;
- JOptionPane.showMessageDialog(null,
- "Bitte geben Sie einen Veranstaltungsnamen und eine Beschreibung ein.", "Datum fehlerhaft",
- JOptionPane.ERROR_MESSAGE);
+ JOptionPane
+ .showMessageDialog(
+ null,
+ "Bitte geben Sie einen Veranstaltungsnamen und eine Beschreibung ein.",
+ "Datum fehlerhaft",
+ JOptionPane.ERROR_MESSAGE);
} else {
// Textfelder bereit
isAllInformationReady = true;
}
- //welcher Radiobutton ist geklickt?
+ // welcher Radiobutton ist geklickt?
if (radioButtonyes.isSelected() == true) {
Lecture.lecture.setActive(true);
} else {
Lecture.lecture.setActive(false);
}
- //Prüfe ob alle Eingaben korrekt sind, dann mache weiter
+ // Prüfe ob alle Eingaben korrekt sind, dann mache
+ // weiter
if (isAllInformationReady == true
&& isDateMaxLifeTimeCorrect == true
&& isDateOrderCorrect == true) {
diff --git a/Dozentenmodul/src/gui/ExtendedSearch_GUI.java b/Dozentenmodul/src/gui/ExtendedSearch_GUI.java
index ab9693a7..7f042cae 100644
--- a/Dozentenmodul/src/gui/ExtendedSearch_GUI.java
+++ b/Dozentenmodul/src/gui/ExtendedSearch_GUI.java
@@ -44,6 +44,7 @@ public class ExtendedSearch_GUI extends JFrame {
ExtendedSearch_GUI dialog = new ExtendedSearch_GUI();
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
dialog.setVisible(true);
+
} catch (Exception e) {
e.printStackTrace();
}
diff --git a/Dozentenmodul/src/gui/FTPUploader_GUI.java b/Dozentenmodul/src/gui/FTPUploader_GUI.java
index 2b5badd7..05cfbd34 100644
--- a/Dozentenmodul/src/gui/FTPUploader_GUI.java
+++ b/Dozentenmodul/src/gui/FTPUploader_GUI.java
@@ -176,9 +176,9 @@ public class FTPUploader_GUI extends JFrame implements PropertyChangeListener {
progressBar.setBounds(102, 202, 485, 30);
contentPanel.add(progressBar);
- JLabel label = new JLabel("Downloadgeschwindigkeit:");
- label.setBounds(102, 243, 141, 14);
- contentPanel.add(label);
+ JLabel lblUploadgeschwindigkeit = new JLabel("Uploadgeschwindigkeit:");
+ lblUploadgeschwindigkeit.setBounds(102, 243, 141, 14);
+ contentPanel.add(lblUploadgeschwindigkeit);
JLabel label_1 = new JLabel("Fertig:");
label_1.setBounds(102, 293, 46, 14);
diff --git a/Dozentenmodul/src/gui/LinkImage_GUI.java b/Dozentenmodul/src/gui/LinkImage_GUI.java
index b8b1920e..b4052778 100644
--- a/Dozentenmodul/src/gui/LinkImage_GUI.java
+++ b/Dozentenmodul/src/gui/LinkImage_GUI.java
@@ -1,6 +1,5 @@
package gui;
-
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
@@ -29,6 +28,7 @@ import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
+import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JScrollPane;
@@ -61,11 +61,11 @@ public class LinkImage_GUI extends JFrame {
JComboBox<String> comboBox;
JTable tableAllImages;
private JTextField textFieldName;
- String[] titles= {"Image-Name", "Lizenzpflichtig", "OS", "Veranstaltung", "Verantwortlicher", "Letztes Update", "Schlagwort"};
- ThriftConnection thrift=new ThriftConnection();
- Client client=thrift.getThriftConnection();
+ String[] titles = { "Image-Name", "Lizenzpflichtig", "OS", "Veranstaltung",
+ "Verantwortlicher", "Letztes Update", "Schlagwort" };
+ ThriftConnection con = new ThriftConnection();
+ Client client = con.getThriftConnection();
-
/**
* Launch the application.
*/
@@ -88,9 +88,14 @@ public class LinkImage_GUI extends JFrame {
public void windowClosing(WindowEvent arg0) {
System.exit(0);
}
+
+ @Override
+ public void windowOpened(WindowEvent arg0) {
+ textFieldName.requestFocusInWindow();
+ }
});
setResizable(false);
-
+
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (ClassNotFoundException | InstantiationException
@@ -100,15 +105,13 @@ public class LinkImage_GUI extends JFrame {
}
setTitle("bwLehrpool Suite *Prototyp*");
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
- int top=(screenSize.height - 603) / 2;
- int left=(screenSize.width - 722) / 2;
+ int top = (screenSize.height - 603) / 2;
+ int left = (screenSize.width - 722) / 2;
setBounds(left, top, 603, 722);
-
- final DefaultTableModel modelAll = new DefaultTableModel( titles, 0 );
- final DefaultTableModel model = new DefaultTableModel( titles, 0 );
-
-
+ final DefaultTableModel modelAll = new DefaultTableModel(titles, 0);
+ final DefaultTableModel model = new DefaultTableModel(titles, 0);
+
getContentPane().setLayout(null);
{
JPanel panel = new JPanel();
@@ -122,11 +125,12 @@ public class LinkImage_GUI extends JFrame {
panel.add(lblNewLabel);
lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 18));
}
-
+
JTextPane txtpnBitteWhlenSie = new JTextPane();
txtpnBitteWhlenSie.setEditable(false);
txtpnBitteWhlenSie.setBackground(SystemColor.menu);
- txtpnBitteWhlenSie.setText("Hier k\u00F6nnen Sie nach Ihrem gew\u00FCnschten VL-Image suchen und dieses f\u00FCr weitere Schritte ausw\u00E4hlen");
+ txtpnBitteWhlenSie
+ .setText("Hier k\u00F6nnen Sie nach Ihrem gew\u00FCnschten VL-Image suchen und dieses f\u00FCr weitere Schritte ausw\u00E4hlen");
txtpnBitteWhlenSie.setBounds(10, 36, 509, 32);
panel.add(txtpnBitteWhlenSie);
}
@@ -135,72 +139,70 @@ public class LinkImage_GUI extends JFrame {
contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
getContentPane().add(contentPanel);
contentPanel.setLayout(null);
-
+
JPanel panel_1 = new JPanel();
panel_1.setBackground(SystemColor.menu);
- panel_1.setBorder(new TitledBorder(null, "Filterfunktionen", TitledBorder.LEADING, TitledBorder.TOP, null, null));
+ panel_1.setBorder(new TitledBorder(null, "Filterfunktionen",
+ TitledBorder.LEADING, TitledBorder.TOP, null, null));
panel_1.setBounds(10, 49, 557, 131);
contentPanel.add(panel_1);
panel_1.setLayout(null);
-
+
JLabel lblNewLabel_2 = new JLabel("Anzeigename:");
lblNewLabel_2.setBounds(10, 30, 250, 20);
panel_1.add(lblNewLabel_2);
-
+
JLabel lblInternetIstInnerhalb = new JLabel("Betriebssystem:");
lblInternetIstInnerhalb.setBounds(10, 58, 250, 20);
panel_1.add(lblInternetIstInnerhalb);
-
+
textFieldName = new JTextField();
textFieldName.addKeyListener(new KeyAdapter() {
@Override
public void keyReleased(KeyEvent e) {
- String stext=textFieldName.getText();
+ String stext = textFieldName.getText();
modelAll.setRowCount(0);
initTableModel(modelAll);
-
- if(stext!="")
- for(int i=0;i<modelAll.getRowCount();i++){
-
- if(modelAll.getValueAt(i, 0).toString().startsWith(stext)){
-
- }
- else
- {
- modelAll.removeRow(i);
+
+ if (stext != "")
+ for (int i = 0; i < modelAll.getRowCount(); i++) {
+
+ if (modelAll.getValueAt(i, 0).toString()
+ .startsWith(stext)) {
+
+ } else {
+ modelAll.removeRow(i);
+ }
}
- }
-
-
+
}
-
-
+
});
textFieldName.setBounds(270, 30, 250, 20);
panel_1.add(textFieldName);
textFieldName.setColumns(10);
-
- JLabel lblErweiterteSuche = new JLabel("<html><u>Erweiterte Suche</u></html>");
+
+ JLabel lblErweiterteSuche = new JLabel(
+ "<html><u>Erweiterte Suche</u></html>");
lblErweiterteSuche.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent arg0) {
- ExtendedSearch_GUI es=new ExtendedSearch_GUI();
+ ExtendedSearch_GUI es = new ExtendedSearch_GUI();
es.setVisible(true);
}
});
lblErweiterteSuche.setForeground(Color.BLUE);
-
+
lblErweiterteSuche.setBounds(431, 106, 89, 14);
panel_1.add(lblErweiterteSuche);
-
+
comboBox = new JComboBox<String>();
try {
- List<String> list=client.getAllOS();
+ List<String> list = client.getAllOS();
comboBox.addItem("");
- for(int i=0;i<list.size();i++)
- {
- comboBox.addItem(list.get(i));
+ for (int i = 0; i < list.size(); i++) {
+ comboBox.addItem(list.get(i));
}
} catch (TException e2) {
// TODO Auto-generated catch block
@@ -210,91 +212,85 @@ public class LinkImage_GUI extends JFrame {
public void actionPerformed(ActionEvent arg0) {
modelAll.setRowCount(0);
initTableModel(modelAll);
- String selItem=comboBox.getSelectedItem().toString();
- if(selItem!="")
- {
- for(int i=0;i<modelAll.getRowCount();i++){
-
- if(modelAll.getValueAt(i, 2).equals(selItem)){
-
- }
- else
- {
- modelAll.removeRow(i);
+ String selItem = comboBox.getSelectedItem().toString();
+ if (selItem != "") {
+ for (int i = 0; i < modelAll.getRowCount(); i++) {
+
+ if (modelAll.getValueAt(i, 2).equals(selItem)) {
+
+ } else {
+ modelAll.removeRow(i);
+ }
}
+
}
-
-
- }
}
});
comboBox.setBounds(270, 58, 250, 20);
panel_1.add(comboBox);
-
+
JLabel lblHauptmen = new JLabel("Hauptmen\u00FC");
lblHauptmen.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent arg0) {
-
+
LinkImage_GUI.this.setVisible(false);
- MainMenue_GUI main=new MainMenue_GUI();
+ MainMenue_GUI main = new MainMenue_GUI();
main.setVisible(true);
}
});
lblHauptmen.setForeground(Color.BLUE);
lblHauptmen.setBounds(10, 11, 61, 14);
contentPanel.add(lblHauptmen);
-
+
JLabel label_1 = new JLabel(">");
label_1.setBounds(69, 11, 13, 14);
contentPanel.add(label_1);
-
+
JLabel lblVlimage = new JLabel("VL-Image");
lblVlimage.setForeground(Color.BLUE);
lblVlimage.setBounds(81, 11, 45, 14);
contentPanel.add(lblVlimage);
-
+
JLabel label_2 = new JLabel(">");
label_2.setBounds(133, 11, 13, 14);
contentPanel.add(label_2);
-
+
JLabel lblNewLabel_1 = new JLabel("Imageauswahl");
lblNewLabel_1.setBounds(146, 11, 85, 14);
contentPanel.add(lblNewLabel_1);
-
+
JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
tabbedPane.setBounds(10, 197, 557, 300);
contentPanel.add(tabbedPane);
-
+
JScrollPane scrollPaneMyImage = new JScrollPane();
- JTable tablemyImages=new JTable();
+ JTable tablemyImages = new JTable();
tablemyImages.setModel(model);
tablemyImages.getColumnModel().getColumn(1).sizeWidthToFit();
tablemyImages.getColumnModel().getColumn(2).sizeWidthToFit();
tablemyImages.getColumnModel().getColumn(3).sizeWidthToFit();
tablemyImages.getColumnModel().getColumn(4).sizeWidthToFit();
tablemyImages.getColumnModel().getColumn(5).sizeWidthToFit();
-
+
JScrollPane scrollPaneAllImages = new JScrollPane();
- tableAllImages=new JTable();
+ tableAllImages = new JTable();
tableAllImages.setModel(modelAll);
tableAllImages.getColumnModel().getColumn(1).sizeWidthToFit();
tableAllImages.getColumnModel().getColumn(2).sizeWidthToFit();
tableAllImages.getColumnModel().getColumn(3).sizeWidthToFit();
tableAllImages.getColumnModel().getColumn(4).sizeWidthToFit();
tableAllImages.getColumnModel().getColumn(5).sizeWidthToFit();
-
-
-
- scrollPaneAllImages.setViewportView(tableAllImages);
- tabbedPane.addTab("Alle", null, scrollPaneAllImages, null);
+
+ scrollPaneAllImages.setViewportView(tableAllImages);
+ tabbedPane.addTab("Alle", null, scrollPaneAllImages, null);
scrollPaneMyImage.setViewportView(tablemyImages);
tabbedPane.addTab("Meine Images", null, scrollPaneMyImage, null);
-
+
JScrollPane scrollPaneCoopImages = new JScrollPane();
- JTable tableCoopImages=new JTable();
+ JTable tableCoopImages = new JTable();
tableCoopImages.setModel(model);
tableCoopImages.getColumnModel().getColumn(1).sizeWidthToFit();
tableCoopImages.getColumnModel().getColumn(2).sizeWidthToFit();
@@ -303,10 +299,12 @@ public class LinkImage_GUI extends JFrame {
tableCoopImages.getColumnModel().getColumn(5).sizeWidthToFit();
scrollPaneCoopImages.setViewportView(tableCoopImages);
- tabbedPane.addTab("Kooperative Images", null, scrollPaneCoopImages, null);
-
+ tabbedPane.addTab("Kooperative Images", null, scrollPaneCoopImages,
+ null);
+ tabbedPane.setEnabledAt(2, false);
+
JScrollPane scrollPanePublicImages = new JScrollPane();
- JTable tablePublicImages=new JTable();
+ JTable tablePublicImages = new JTable();
tablePublicImages.setModel(model);
tablePublicImages.getColumnModel().getColumn(1).sizeWidthToFit();
tablePublicImages.getColumnModel().getColumn(2).sizeWidthToFit();
@@ -315,10 +313,12 @@ public class LinkImage_GUI extends JFrame {
tablePublicImages.getColumnModel().getColumn(5).sizeWidthToFit();
scrollPanePublicImages.setViewportView(tablePublicImages);
- tabbedPane.addTab("\u00D6ffentliche Images", null, scrollPanePublicImages, null);
-
+ tabbedPane.addTab("\u00D6ffentliche Images", null,
+ scrollPanePublicImages, null);
+ tabbedPane.setEnabledAt(3, false);
+
JScrollPane scrollPanePublicVorlagen = new JScrollPane();
- JTable tablePublicVorlagen=new JTable();
+ JTable tablePublicVorlagen = new JTable();
tablePublicVorlagen.setModel(model);
tablePublicVorlagen.getColumnModel().getColumn(1).sizeWidthToFit();
tablePublicVorlagen.getColumnModel().getColumn(2).sizeWidthToFit();
@@ -327,9 +327,11 @@ public class LinkImage_GUI extends JFrame {
tablePublicVorlagen.getColumnModel().getColumn(5).sizeWidthToFit();
scrollPanePublicVorlagen.setViewportView(tablePublicVorlagen);
- tabbedPane.addTab("\u00D6ffentliche Vorlagen", null, scrollPanePublicVorlagen, null);
-
- initTableModel(modelAll);
+ tabbedPane.addTab("\u00D6ffentliche Vorlagen", null,
+ scrollPanePublicVorlagen, null);
+ tabbedPane.setEnabledAt(4, false);
+
+ initTableModel(modelAll);
{
JPanel buttonPane = new JPanel();
buttonPane.setBounds(0, 640, 597, 33);
@@ -337,89 +339,127 @@ public class LinkImage_GUI extends JFrame {
buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
getContentPane().add(buttonPane);
{
- JButton okButton = new JButton("Zur\u00FCck");
- okButton.addActionListener(new ActionListener() {
+ JButton cancelButton = new JButton("Zur\u00FCck");
+ cancelButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
-
- MainMenue_GUI main=new MainMenue_GUI();
- main.setVisible(true);
+ con.closeThriftConnection();
+ EingabeVeranstaltungAllgemein_GUI eVAG = new EingabeVeranstaltungAllgemein_GUI();
+ eVAG.setVisible(true);
dispose();
}
});
- okButton.setActionCommand("OK");
- buttonPane.add(okButton);
- getRootPane().setDefaultButton(okButton);
+ cancelButton.setActionCommand("CANCEL");
+ buttonPane.add(cancelButton);
+ getRootPane().setDefaultButton(cancelButton);
}
{
- JButton cancelButton = new JButton("Veranstaltung erzeugen und abschlie\u00DFen");
- cancelButton.addActionListener(new ActionListener() {
+ JButton doLinkButton = new JButton(
+ "Veranstaltung erzeugen und abschlie\u00DFen");
+ doLinkButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
-
- String imagename=tableAllImages.getValueAt(tableAllImages.getSelectedRow(), 0).toString();
+
+ String imagename = tableAllImages.getValueAt(
+ tableAllImages.getSelectedRow(), 0).toString();
try {
- DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
- System.out.println(formatter.format(Lecture.lecture.getStartdate()).toString());
- client.writeLecturedata(Lecture.lecture.getName(), Lecture.lecture.getShortDesc(), Lecture.lecture.getDesc(), formatter.format(Lecture.lecture.getStartdate()).toString(), formatter.format(Lecture.lecture.getEnddate()).toString(), Lecture.lecture.isActive(), imagename, person.verantwortlicher.getVorname(), person.verantwortlicher.getName(), person.verantwortlicher.getHochschule(), person.verantwortlicher.getEMail(), person.verantwortlicher.getTel(), person.verantwortlicher.getFakultät());
+ DateFormat formatter = new SimpleDateFormat(
+ "yyyy-MM-dd hh:mm:ss");
+ System.out.println("Veranstaltung anlegen um: "
+ + formatter.format(
+ Lecture.lecture.getStartdate())
+ .toString());
+ client.writeLecturedata(
+ Lecture.lecture.getName(),
+ Lecture.lecture.getShortDesc(),
+ Lecture.lecture.getDesc(),
+ formatter.format(
+ Lecture.lecture.getStartdate())
+ .toString(),
+ formatter.format(
+ Lecture.lecture.getEnddate())
+ .toString(), Lecture.lecture
+ .isActive(), imagename,
+ person.verantwortlicher.getVorname(),
+ person.verantwortlicher.getName(),
+ person.verantwortlicher.getHochschule(),
+ person.verantwortlicher.getEMail(),
+ person.verantwortlicher.getTel(),
+ person.verantwortlicher.getFakultät());
+ JOptionPane
+ .showMessageDialog(
+ null,
+ "Ihre Veranstaltung wurde erfolgreich angelegt. Sie kehren nun zum Hauptmenü zurück.",
+ "Veranstaltung angelegt",
+ JOptionPane.PLAIN_MESSAGE);
} catch (TException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
+ JOptionPane
+ .showMessageDialog(
+ null,
+ "Beim Anlegen Ihrer Veranstaltung ist ein Fehler aufgetreten.",
+ "Error", JOptionPane.ERROR_MESSAGE);
}
+ con.closeThriftConnection();
dispose();
-
+
}
});
- cancelButton.setActionCommand("Cancel");
- buttonPane.add(cancelButton);
+ doLinkButton.setActionCommand("OK");
+ buttonPane.add(doLinkButton);
}
}
-
+
JSeparator separator = new JSeparator();
separator.setBounds(0, 78, 597, 2);
getContentPane().add(separator);
-
+
JSeparator separator_1 = new JSeparator();
separator_1.setBounds(0, 627, 597, 2);
getContentPane().add(separator_1);
-
+
JMenuBar menuBar = new JMenuBar();
setJMenuBar(menuBar);
-
+
JMenu mnNewMenu = new JMenu("Suchen");
menuBar.add(mnNewMenu);
-
+
JMenuItem mntmVlSuche = new JMenuItem("VL Suche");
mnNewMenu.add(mntmVlSuche);
-
+
JMenu mnNewMenu_1 = new JMenu("Hilfe");
menuBar.add(mnNewMenu_1);
-
+
JMenuItem mntmFaq = new JMenuItem("FAQ");
mnNewMenu_1.add(mntmFaq);
-
+
JMenuItem mntmOtrs = new JMenuItem("OTRS");
mnNewMenu_1.add(mntmOtrs);
-
+
}
-
- public DefaultTableModel initTableModel(DefaultTableModel model){
+
+ public DefaultTableModel initTableModel(DefaultTableModel model) {
List<server.Image> images;
try {
images = client.getImageList();
- Iterator<server.Image> i=images.iterator();
+ Iterator<server.Image> i = images.iterator();
List<Object[]> ListObj = new ArrayList<Object[]>();
- int x=0;
-
- while(i.hasNext())
- {
-
+ int x = 0;
+
+ while (i.hasNext()) {
+
i.next();
- Object [] obj={images.get(x).getImageName(),images.get(x).getLicenseRestriction(),images.get(x).getOsName(),images.get(x).getLectureName(),images.get(x).getUpdateTime(),images.get(x).getUserData()};
+ Object[] obj = { images.get(x).getImageName(),
+ images.get(x).getLicenseRestriction(),
+ images.get(x).getOsName(),
+ images.get(x).getLectureName(),
+ images.get(x).getUpdateTime(),
+ images.get(x).getUserData() };
ListObj.add(obj);
model.addRow(ListObj.get(x));
x++;
-
+
}
-
+
return model;
} catch (TException e1) {
// TODO Auto-generated catch block
@@ -427,7 +467,5 @@ public class LinkImage_GUI extends JFrame {
}
return model;
}
-
- }
-
+}
diff --git a/Dozentenmodul/src/gui/MainMenue_GUI.java b/Dozentenmodul/src/gui/MainMenue_GUI.java
index cc878613..3c75c74f 100644
--- a/Dozentenmodul/src/gui/MainMenue_GUI.java
+++ b/Dozentenmodul/src/gui/MainMenue_GUI.java
@@ -39,7 +39,9 @@ public class MainMenue_GUI extends JFrame {
private final JPanel contentPanel = new JPanel();
String[] result;
- String descNewImage, descEditImage, descDeleteImage, descSearchImage, descNewLecture, descEditLecture, descDeleteLecture, descSearchLecture = "";
+ String descNewImage, descEditImage, descDeleteImage, descSearchImage,
+ descNewLecture, descEditLecture, descDeleteLecture,
+ descSearchLecture = "";
JRadioButton rdbtnImageNew;
JRadioButton rdbtnImageEdit;
JRadioButton rdbtnImageSearchDownload;
@@ -177,9 +179,9 @@ public class MainMenue_GUI extends JFrame {
txtDesc.setBackground(SystemColor.menu);
scrollPaneDesc.add(txtDesc);
// Pro AUswahl
- txtDesc.setText("Legen Sie ein neues Image an und laden Sie anschließend die passende .vmdk-Datei hoch. Voraussetzung für Veranstaltung.");
+ txtDesc.setText("Legen Sie ein neues Image an und laden Sie anschließend die passende .vmdk-Datei hoch. Ein Image (wenn auch von einem anderen Dozenten) ist die Voraussetzung für eine Veranstaltung.");
panelDesc.add(scrollPaneDesc);
-
+
JPanel panelVeranstaltung = new JPanel();
panelVeranstaltung.setLayout(null);
panelVeranstaltung.setBorder(new TitledBorder(UIManager
@@ -282,62 +284,60 @@ public class MainMenue_GUI extends JFrame {
scrollPaneNews.add(txtNews);
panelNews.add(scrollPaneNews);
-
/*
* Funktion Texte für das Klicken der RadioButtons
*/
rdbtnImageNew.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
- descNewImage="Legen Sie ein neues Image an und laden Sie anschließend die passende .vmdk-Datei hoch. Voraussetzung für Veranstaltung.";
+ descNewImage = "Legen Sie ein neues Image an und laden Sie anschließend die passende .vmdk-Datei hoch. Ein Image (wenn auch von einem anderen Dozenten) ist die Voraussetzung für eine Veranstaltung.";
txtDesc.setText(descNewImage);
}
});
rdbtnImageEdit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descEditImage="Bearbeiten Sie die hinterlegten Informationen zu einem Image oder laden Sie eine neue .vmdk-Datei hoch.";
+ descEditImage = "Bearbeiten Sie die hinterlegten Informationen zu einem Image oder laden Sie eine neue .vmdk-Datei hoch.";
txtDesc.setText(descEditImage);
}
});
rdbtnImageDelete.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descDeleteImage="Suchen Sie alte und nicht mehr benötigte Images und löschen Sie diese.";
+ descDeleteImage = "Suchen Sie alte und nicht mehr benötigte Images und löschen Sie diese.";
txtDesc.setText(descDeleteImage);
}
});
rdbtnImageSearchDownload.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descSearchImage="Suchen Sie nach bestimmten Images oder verschaffen Sie sich einen Überblick über alle verfügbaren Images. Sie können gewünschte umgehend herunterladen.";
+ descSearchImage = "Suchen Sie nach bestimmten Images oder verschaffen Sie sich einen Überblick über alle verfügbaren Images. Sie können gewünschte Images umgehend herunterladen.";
txtDesc.setText(descSearchImage);
}
});
rdbtnVeranstaltungNew.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descNewLecture="Legen Sie eine neue Veranstaltung an und verknüpfen Sie diese mit einem bereits vorhandenem Image.";
+ descNewLecture = "Legen Sie eine neue Veranstaltung an und verknüpfen Sie diese mit einem bereits vorhandenem Image. Ihre neue Veranstaltung kann auch auf dem Image eines anderen Dozenten beruhen.";
txtDesc.setText(descNewLecture);
}
});
rdbtnVeranstaltungEdit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descEditLecture="Bearbeiten Sie die hinterlegten Informationen zu einer Veranstaltung.";
+ descEditLecture = "Bearbeiten Sie die hinterlegten Informationen zu einer Veranstaltung.";
txtDesc.setText(descEditLecture);
}
});
rdbtnVeranstaltungDelete.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descDeleteLecture="Suchen und löschen Sie eine Veranstaltung. Das hiermit verbundene Image bleibt erhalten.";
+ descDeleteLecture = "Suchen und löschen Sie eine Veranstaltung. Das hiermit verbundene Image bleibt erhalten.";
}
});
rdbtnVeranstaltungSearch.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- descSearchLecture="Suchen Sie nach bestimmten Veranstaltungen oder verschaffen Sie sich einen Überblick über alle verfügbaren Veranstaltungen.";
+ descSearchLecture = "Suchen Sie nach bestimmten Veranstaltungen oder verschaffen Sie sich einen Überblick über alle verfügbaren Veranstaltungen. Eventuell gibt es bereits etwas passendes für Ihre Vorlesung.";
txtDesc.setText(descSearchLecture);
}
});
/*
* Ende der Radiobuttons
*/
-
-
+
JLabel lblGrafik = new JLabel("");
// ToolTipp für Grafik
lblGrafik
@@ -348,14 +348,15 @@ public class MainMenue_GUI extends JFrame {
+ "erstellt werden, ohne ein neues Image hochladen zu m\u00FCssen. <br> <br> <br>"
+ "<b>Image:</b> Das Image enth\u00E4lt die ben\u00F6tigte Software, die im <br>"
+ "virtuellen Labor ben\u00F6tigt wird. Es wird von genau einem Dozenten <br>"
- + "angelegt und besitzt einen allgemeinen Namen, z.B. \"Programmieren\". <br> <br> <br>"
+ + "angelegt und besitzt einen allgemeinen Namen, z.B. \"Programmieren\". <br>"
+ + "Bei einem Image handelt es sich um eine Datei vom Typ VMDK. <br> <br> <br>"
+ "<b>Veranstaltung:</b> Es k\u00F6nnen nun, basierend auf einem Image,<br>"
+ " beliebig viele Veranstaltungen von unterschiedlichen Dozenten erstellt <br>"
+ "werden. Diese k\u00F6nnten z.B. konkret \"Web-Entwicklung\" oder \"K\u00FCnstliche <br>"
+ "Intelligenz\" lauten und referenzieren dabei auf das allgemeine Image <br>"
+ "\"Programmieren\".</html>");
lblGrafik.setIcon(new ImageIcon(MainMenue_GUI.class
- .getResource("/Image_zu_Veranstaltung_gr\u00FCn.png")));
+ .getResource("/Image_zu_Veranstaltung_HDD.png")));
// ToolTipp lange anzeigen - 60sec
ToolTipManager.sharedInstance().setDismissDelay(60000);
ToolTipManager.sharedInstance().registerComponent(lblGrafik);
@@ -377,7 +378,7 @@ public class MainMenue_GUI extends JFrame {
getContentPane().add(buttonPane);
{
JButton continueButton = new JButton("Weiter");
-
+
continueButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
@@ -403,7 +404,7 @@ public class MainMenue_GUI extends JFrame {
av.setVisible(true);
dispose();
} else if (rdbtnVeranstaltungEdit.isSelected() == true) {
- SearchEditLecture_GUI sl=new SearchEditLecture_GUI();
+ SearchEditLecture_GUI sl = new SearchEditLecture_GUI();
sl.setVisible(true);
dispose();
}
@@ -437,9 +438,6 @@ public class MainMenue_GUI extends JFrame {
JMenuItem mntmOtrs = new JMenuItem("OTRS");
mnNewMenu_1.add(mntmOtrs);
- }//end main
-
-
-
-
-}//end class
+ }// end main
+
+}// end class
diff --git a/Dozentenmodul/src/gui/SearchImage_GUI.java b/Dozentenmodul/src/gui/SearchImage_GUI.java
index 9fc66add..53257f48 100644
--- a/Dozentenmodul/src/gui/SearchImage_GUI.java
+++ b/Dozentenmodul/src/gui/SearchImage_GUI.java
@@ -388,6 +388,7 @@ public class SearchImage_GUI extends JFrame {
continueButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
+ con.closeThriftConnection();
EditImageAllgemein_GUI ea = new EditImageAllgemein_GUI();
ea.setVisible(true);
dispose();