diff options
| author | unknown | 2014-04-01 14:12:17 +0200 |
|---|---|---|
| committer | unknown | 2014-04-01 14:12:17 +0200 |
| commit | dc5dc58cf6234889f72d52a150d1b934cbb326ec (patch) | |
| tree | bdc51a12e20be6f8f7a53cc67a57d7e08d13a043 /Dozentenmodul/src | |
| parent | GUI etwas verstellt + Check ob schon fertig hochgeladen, bevor man Fertigstel... (diff) | |
| download | tutor-module-dc5dc58cf6234889f72d52a150d1b934cbb326ec.tar.gz tutor-module-dc5dc58cf6234889f72d52a150d1b934cbb326ec.tar.xz tutor-module-dc5dc58cf6234889f72d52a150d1b934cbb326ec.zip | |
Unterschiedliche kleine und größere Änderungen
Diffstat (limited to 'Dozentenmodul/src')
| -rw-r--r-- | Dozentenmodul/src/gui/EingabeImageTechnisch_GUI.java | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Dozentenmodul/src/gui/EingabeImageTechnisch_GUI.java b/Dozentenmodul/src/gui/EingabeImageTechnisch_GUI.java index 62cfd19a..43482544 100644 --- a/Dozentenmodul/src/gui/EingabeImageTechnisch_GUI.java +++ b/Dozentenmodul/src/gui/EingabeImageTechnisch_GUI.java @@ -249,8 +249,8 @@ public class EingabeImageTechnisch_GUI extends JFrame { buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT)); getContentPane().add(buttonPane); { - JButton okButton = new JButton("Zur\u00FCck"); - okButton.addActionListener(new ActionListener() { + JButton cancelButton = new JButton("Zur\u00FCck"); + cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if(rdbtnInternetJa.isSelected()==true) @@ -278,13 +278,13 @@ public class EingabeImageTechnisch_GUI extends JFrame { dispose(); } }); - okButton.setActionCommand("OK"); - buttonPane.add(okButton); - getRootPane().setDefaultButton(okButton); + cancelButton.setActionCommand("OK"); + buttonPane.add(cancelButton); + //getRootPane().setDefaultButton(cancelButton); } { - JButton cancelButton = new JButton("Weiter"); - cancelButton.addActionListener(new ActionListener() { + JButton continueButton = new JButton("Weiter"); + continueButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if(rdbtnInternetJa.isSelected()==true) { @@ -311,8 +311,9 @@ public class EingabeImageTechnisch_GUI extends JFrame { } }); - cancelButton.setActionCommand("Cancel"); - buttonPane.add(cancelButton); + continueButton.setActionCommand("Cancel"); + buttonPane.add(continueButton); + getRootPane().setDefaultButton(continueButton); } } |
