summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
diff options
context:
space:
mode:
authorTobias Spitzer2014-08-25 08:50:56 +0200
committerTobias Spitzer2014-08-25 08:50:56 +0200
commit83983b4b4d2e3ccc18b2327e17941cf00ecae7bb (patch)
tree9a6d172b8f737a23d24dd12ea50a01bd7d3a3a12 /Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
parentRolle für die Rechteverwaltung in SessionData Model hinzugefügt (diff)
parentAusgaben hinzugefügt (diff)
downloadtutor-module-83983b4b4d2e3ccc18b2327e17941cf00ecae7bb.tar.gz
tutor-module-83983b4b4d2e3ccc18b2327e17941cf00ecae7bb.tar.xz
tutor-module-83983b4b4d2e3ccc18b2327e17941cf00ecae7bb.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tutor-module
Diffstat (limited to 'Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java')
-rw-r--r--Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java16
1 files changed, 10 insertions, 6 deletions
diff --git a/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java b/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
index d3c3d538..48cbedc9 100644
--- a/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
+++ b/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
@@ -287,6 +287,13 @@ public class EditLectureAllgemein_GUI extends JFrame {
radioButtonyes = new JRadioButton("Ja");
buttonGroup.add(radioButtonyes);
+ radioButtonyes.setBounds(240, 225, 109, 23);
+ panel_2.add(radioButtonyes);
+ radioButtonno = new JRadioButton("Nein");
+ buttonGroup.add(radioButtonno);
+ radioButtonno.setBounds(385, 225, 109, 23);
+ panel_2.add(radioButtonno);
+
if(Lecture.lecture.isActive()==true)
{
radioButtonyes.setSelected(true);
@@ -295,13 +302,9 @@ public class EditLectureAllgemein_GUI extends JFrame {
radioButtonno.setSelected(true);
}
- radioButtonyes.setBounds(240, 225, 109, 23);
- panel_2.add(radioButtonyes);
- radioButtonno = new JRadioButton("Nein");
- buttonGroup.add(radioButtonno);
- radioButtonno.setBounds(385, 225, 109, 23);
- panel_2.add(radioButtonno);
+
+
JLabel label_12 = new JLabel("(Im VMChooser sichtbar)");
label_12.setBounds(10, 254, 250, 14);
@@ -316,6 +319,7 @@ public class EditLectureAllgemein_GUI extends JFrame {
JButton okButton = new JButton("Zur\u00FCck");
okButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
+
if(radioButtonyes.isSelected()==true)
{
Lecture.lecture.setActive(true);