summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/lecture/EditLectureAllgemein_GUI.java
diff options
context:
space:
mode:
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);