summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
diff options
context:
space:
mode:
authorMichael Wilson2014-08-22 12:02:11 +0200
committerMichael Wilson2014-08-22 12:02:11 +0200
commit3389c358d12987b9e4721f1e84187ea332844aec (patch)
tree765c1baadb92c7c0b2d8d8717e5c54ec4fa5d241 /Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
parentXMLs können jetzt aich inaktiv sein (diff)
downloadtutor-module-3389c358d12987b9e4721f1e84187ea332844aec.tar.gz
tutor-module-3389c358d12987b9e4721f1e84187ea332844aec.tar.xz
tutor-module-3389c358d12987b9e4721f1e84187ea332844aec.zip
Veranstlaungen lassen sich inactive schalten
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);