summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul
diff options
context:
space:
mode:
authorunknown2014-04-01 14:08:34 +0200
committerunknown2014-04-01 14:08:34 +0200
commit28d09879bb8d9cd8d78b6c8cd9229a46741f8da3 (patch)
tree57ca67db38776e73fa34566e804475041df54fb3 /Dozentenmodul
parentFocus richtig gesetzt + Check ob Imagename eingetragen ist + Speichern des Na... (diff)
downloadtutor-module-28d09879bb8d9cd8d78b6c8cd9229a46741f8da3.tar.gz
tutor-module-28d09879bb8d9cd8d78b6c8cd9229a46741f8da3.tar.xz
tutor-module-28d09879bb8d9cd8d78b6c8cd9229a46741f8da3.zip
Buttons intern umbenannt
Diffstat (limited to 'Dozentenmodul')
-rw-r--r--Dozentenmodul/src/GUI/EingabeImageTechnisch_GUI.java19
1 files changed, 10 insertions, 9 deletions
diff --git a/Dozentenmodul/src/GUI/EingabeImageTechnisch_GUI.java b/Dozentenmodul/src/GUI/EingabeImageTechnisch_GUI.java
index daf46d99..9358f33d 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);
}
}