summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul
diff options
context:
space:
mode:
authorunknown2014-05-06 11:30:34 +0200
committerunknown2014-05-06 11:30:34 +0200
commit434fa16f359e2f0e769ffcc226509638f37644c7 (patch)
treee14441e9f7d2dd85210d1da738fa427326f20eb9 /Dozentenmodul
parentProblem beim bearbeiten eines Image behoben. (diff)
downloadtutor-module-434fa16f359e2f0e769ffcc226509638f37644c7.tar.gz
tutor-module-434fa16f359e2f0e769ffcc226509638f37644c7.tar.xz
tutor-module-434fa16f359e2f0e769ffcc226509638f37644c7.zip
Fehler behoben:
-Font angepasst -CloseConnection hinzugefügt beim bearbeiten einer Lecture -getInt umgestellt auf getString in updateLectureData aufgrund von UUID-Umstellung -Log-Ausgabe korrigiert beim Update einer Lecture
Diffstat (limited to 'Dozentenmodul')
-rw-r--r--Dozentenmodul/bin/gui/intro/Login_GUI.classbin10551 -> 9658 bytes
-rw-r--r--Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$3.classbin1892 -> 1892 bytes
-rw-r--r--Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$4.classbin1951 -> 1951 bytes
-rw-r--r--Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI.classbin10004 -> 10042 bytes
-rw-r--r--Dozentenmodul/src/gui/intro/Login_GUI.java4
-rw-r--r--Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java2
-rw-r--r--Dozentenmodul/src/gui/lecture/EditLectureLink_GUI.java21
7 files changed, 21 insertions, 6 deletions
diff --git a/Dozentenmodul/bin/gui/intro/Login_GUI.class b/Dozentenmodul/bin/gui/intro/Login_GUI.class
index e45c4bb5..d25020ec 100644
--- a/Dozentenmodul/bin/gui/intro/Login_GUI.class
+++ b/Dozentenmodul/bin/gui/intro/Login_GUI.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$3.class b/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$3.class
index 808b6d99..f7dab652 100644
--- a/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$3.class
+++ b/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$3.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$4.class b/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$4.class
index c412ac7b..0d19affe 100644
--- a/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$4.class
+++ b/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI$4.class
Binary files differ
diff --git a/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI.class b/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI.class
index 81bbec82..2c29082d 100644
--- a/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI.class
+++ b/Dozentenmodul/bin/gui/lecture/EditLectureAllgemein_GUI.class
Binary files differ
diff --git a/Dozentenmodul/src/gui/intro/Login_GUI.java b/Dozentenmodul/src/gui/intro/Login_GUI.java
index 3d882da0..75320b58 100644
--- a/Dozentenmodul/src/gui/intro/Login_GUI.java
+++ b/Dozentenmodul/src/gui/intro/Login_GUI.java
@@ -216,12 +216,14 @@ public class Login_GUI extends JFrame {
+ ", mein Token für den Satelliten "
+ result.authToken);
+ /*
// show received information
JOptionPane.showMessageDialog(null, "Freiburg liefert:"
+ "\nSession-ID = " + result.sessionId + "\nToken = "
+ result.authToken + "\nSatellit = "
+ result.serverAddress, "Rückgabewerte aus Freiburg",
JOptionPane.INFORMATION_MESSAGE);
+ */
if (login == true) {
/*
@@ -251,6 +253,7 @@ public class Login_GUI extends JFrame {
person.verantwortlicher.setEMail(user.eMail);
person.verantwortlicher.setHochschule(hochschule);
+ /*
// show processed information
JOptionPane
.showMessageDialog(
@@ -292,6 +295,7 @@ public class Login_GUI extends JFrame {
.getEMail(),
"Werte vergleichen",
JOptionPane.INFORMATION_MESSAGE);
+ */
try {
//Lege config File an und entscheide welches Fenster als nächstes geöffnet wird
diff --git a/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java b/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
index 348b1c77..8758600d 100644
--- a/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
+++ b/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
@@ -242,6 +242,7 @@ public class EditLectureAllgemein_GUI extends JFrame {
panel_2.add(textFieldLaborname);
JTextArea textArea = new JTextArea();
+ textArea.setEditable(false);
textArea.setWrapStyleWord(true);
textArea.setText("Geben Sie bitte einen sprechenden Namen f\u00FCr das Image an. Dieser soll jedoch recht allgemein gehalten werden.\r\nBeispiel: \"Programmieren\", nicht \"Programmieren 1\"");
textArea.setLineWrap(true);
@@ -258,6 +259,7 @@ public class EditLectureAllgemein_GUI extends JFrame {
scrollPane.setBounds(200, 104, 347, 78);
panel_2.add(scrollPane);
description = new JTextArea();
+ description.setFont(new Font("Tahoma", Font.PLAIN, 11));
description.setText(Lecture.lecture.getDesc());
description.setLineWrap(true);
scrollPane.add(description);
diff --git a/Dozentenmodul/src/gui/lecture/EditLectureLink_GUI.java b/Dozentenmodul/src/gui/lecture/EditLectureLink_GUI.java
index 4160f855..59558854 100644
--- a/Dozentenmodul/src/gui/lecture/EditLectureLink_GUI.java
+++ b/Dozentenmodul/src/gui/lecture/EditLectureLink_GUI.java
@@ -116,8 +116,7 @@ public class EditLectureLink_GUI extends JFrame {
getContentPane().add(panel);
panel.setLayout(null);
{
- JLabel lblNewLabel = new JLabel(
- "Image verlinken");
+ JLabel lblNewLabel = new JLabel("Image verlinken");
lblNewLabel.setBounds(10, 11, 509, 22);
panel.add(lblNewLabel);
lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 18));
@@ -372,9 +371,11 @@ public class EditLectureLink_GUI extends JFrame {
.toString();
try {
-
- DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
- client.updateLecturedata(Lecture.lecture.getName(),
+
+ DateFormat formatter = new SimpleDateFormat(
+ "yyyy-MM-dd hh:mm:ss");
+ client.updateLecturedata(
+ Lecture.lecture.getName(),
Lecture.lecture.getNewName(),
Lecture.lecture.getShortDesc(),
Lecture.lecture.getDesc(),
@@ -393,7 +394,14 @@ public class EditLectureLink_GUI extends JFrame {
person.verantwortlicher.getTel(),
person.verantwortlicher.getFakultät(),
Lecture.lecture.getid());
-
+
+ JOptionPane
+ .showMessageDialog(
+ null,
+ "Ihre Veranstaltung wurde erfolgreich angelegt. Sie kehren nun zum Hauptmenü zurück.",
+ "Veranstaltung angelegt",
+ JOptionPane.INFORMATION_MESSAGE);
+
} catch (TException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
@@ -407,6 +415,7 @@ public class EditLectureLink_GUI extends JFrame {
JOptionPane.INFORMATION_MESSAGE);
}
+ thrift.closeThriftConnection();
MainMenue_GUI m = new MainMenue_GUI();
m.setVisible(true);
dispose();