diff options
| author | unknown | 2013-12-06 11:24:49 +0100 |
|---|---|---|
| committer | unknown | 2013-12-06 11:24:49 +0100 |
| commit | b5d94da9e8b28a828afce600ba40c673c977b1b5 (patch) | |
| tree | da2fb962c5d235a74f63bcb52ac4f0d2feadee2c /Dozentenmodul/src/GUI/ActionChooser.java | |
| parent | Upload mit dynamischen User, welcher nach dem Upload wieder gelöscht wird (diff) | |
| download | tutor-module-b5d94da9e8b28a828afce600ba40c673c977b1b5.tar.gz tutor-module-b5d94da9e8b28a828afce600ba40c673c977b1b5.tar.xz tutor-module-b5d94da9e8b28a828afce600ba40c673c977b1b5.zip | |
Aktionsauswahl neu
Diffstat (limited to 'Dozentenmodul/src/GUI/ActionChooser.java')
| -rw-r--r-- | Dozentenmodul/src/GUI/ActionChooser.java | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/Dozentenmodul/src/GUI/ActionChooser.java b/Dozentenmodul/src/GUI/ActionChooser.java index 631686bd..f469878d 100644 --- a/Dozentenmodul/src/GUI/ActionChooser.java +++ b/Dozentenmodul/src/GUI/ActionChooser.java @@ -32,8 +32,8 @@ public class ActionChooser extends JFrame { private final JPanel contentPanel = new JPanel();
String[] result;
- JRadioButton radioButton_1;
- JRadioButton radioButton;
+ JRadioButton rdbtnLaborvorlageHerunterladen;
+ JRadioButton rdbtnVerfgbaresLaborHerunterladen;
private final ButtonGroup buttonGroup = new ButtonGroup();
/**
* Launch the application.
@@ -97,43 +97,43 @@ public class ActionChooser extends JFrame { getContentPane().add(contentPanel);
contentPanel.setLayout(null);
- radioButton = new JRadioButton("Erstellen einer neuen VL");
- radioButton.setEnabled(false);
- buttonGroup.add(radioButton);
- radioButton.setHorizontalAlignment(SwingConstants.CENTER);
- radioButton.setBackground(Color.WHITE);
- radioButton.setBounds(6, 30, 141, 23);
- contentPanel.add(radioButton);
+ rdbtnVerfgbaresLaborHerunterladen = new JRadioButton("Verf\u00FCgbares Labor herunterladen");
+ rdbtnVerfgbaresLaborHerunterladen.setEnabled(false);
+ buttonGroup.add(rdbtnVerfgbaresLaborHerunterladen);
+ rdbtnVerfgbaresLaborHerunterladen.setHorizontalAlignment(SwingConstants.CENTER);
+ rdbtnVerfgbaresLaborHerunterladen.setBackground(Color.WHITE);
+ rdbtnVerfgbaresLaborHerunterladen.setBounds(6, 30, 185, 23);
+ contentPanel.add(rdbtnVerfgbaresLaborHerunterladen);
- radioButton_1 = new JRadioButton("Erstellen einer neuen VL auf Basis einer VL Rohling");
- radioButton_1.setSelected(true);
- buttonGroup.add(radioButton_1);
- radioButton_1.setBackground(Color.WHITE);
- radioButton_1.setBounds(6, 7, 265, 23);
- contentPanel.add(radioButton_1);
+ rdbtnLaborvorlageHerunterladen = new JRadioButton("Laborvorlage herunterladen");
+ rdbtnLaborvorlageHerunterladen.setSelected(true);
+ buttonGroup.add(rdbtnLaborvorlageHerunterladen);
+ rdbtnLaborvorlageHerunterladen.setBackground(Color.WHITE);
+ rdbtnLaborvorlageHerunterladen.setBounds(6, 7, 265, 23);
+ contentPanel.add(rdbtnLaborvorlageHerunterladen);
- JRadioButton rdbtnEigenschaftenEinerVl = new JRadioButton("Eigenschaften einer VL \u00E4ndern");
+ JRadioButton rdbtnEigenschaftenEinerVl = new JRadioButton("Fertiges Labor hochladen");
rdbtnEigenschaftenEinerVl.setEnabled(false);
buttonGroup.add(rdbtnEigenschaftenEinerVl);
rdbtnEigenschaftenEinerVl.setBackground(Color.WHITE);
rdbtnEigenschaftenEinerVl.setBounds(6, 53, 185, 23);
contentPanel.add(rdbtnEigenschaftenEinerVl);
- JRadioButton radioButton_3 = new JRadioButton("Kopieren einer bestehenden VL");
- radioButton_3.setEnabled(false);
- buttonGroup.add(radioButton_3);
- radioButton_3.setBackground(Color.WHITE);
- radioButton_3.setBounds(6, 105, 175, 23);
- contentPanel.add(radioButton_3);
+ JRadioButton rdbtnLinkAufEin = new JRadioButton("Link auf ein bestehendes Labor erzeugen");
+ rdbtnLinkAufEin.setEnabled(false);
+ buttonGroup.add(rdbtnLinkAufEin);
+ rdbtnLinkAufEin.setBackground(Color.WHITE);
+ rdbtnLinkAufEin.setBounds(6, 105, 230, 23);
+ contentPanel.add(rdbtnLinkAufEin);
- JRadioButton radioButton_4 = new JRadioButton("Verlinken einer bestehenden VL");
- radioButton_4.setEnabled(false);
- buttonGroup.add(radioButton_4);
- radioButton_4.setBackground(Color.WHITE);
- radioButton_4.setBounds(6, 131, 175, 23);
- contentPanel.add(radioButton_4);
+ JRadioButton rdbtnLaborLschen = new JRadioButton("Labor l\u00F6schen");
+ rdbtnLaborLschen.setEnabled(false);
+ buttonGroup.add(rdbtnLaborLschen);
+ rdbtnLaborLschen.setBackground(Color.WHITE);
+ rdbtnLaborLschen.setBounds(6, 131, 175, 23);
+ contentPanel.add(rdbtnLaborLschen);
- JRadioButton rdbtnInhaltEinerVl = new JRadioButton("Inhalt einer VL \u00E4ndern");
+ JRadioButton rdbtnInhaltEinerVl = new JRadioButton("Laboreigenschaften \u00E4ndern");
rdbtnInhaltEinerVl.setEnabled(false);
rdbtnInhaltEinerVl.setBackground(Color.WHITE);
rdbtnInhaltEinerVl.setBounds(6, 79, 185, 23);
@@ -149,12 +149,12 @@ public class ActionChooser extends JFrame { cancelButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
- if(radioButton_1.isSelected()==true)
+ if(rdbtnLaborvorlageHerunterladen.isSelected()==true)
{
searchRohling sr=new searchRohling();
sr.setVisible(true);
dispose();
- }else if(radioButton.isSelected()==true)
+ }else if(rdbtnVerfgbaresLaborHerunterladen.isSelected()==true)
{
EingabeAllgemein ea = new EingabeAllgemein();
ea.setVisible(true);
|
