summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul
diff options
context:
space:
mode:
authorunknown2014-04-01 14:10:42 +0200
committerunknown2014-04-01 14:10:42 +0200
commit8e821bfeaceef6e97b2238c654be49e8ba111923 (patch)
treea931a227e53cefe02c3ea07b20032fd2633d5599 /Dozentenmodul
parentLib-File verhindert rote Warnings, dass die Lib für Loggging fehlt -> eingefügt (diff)
downloadtutor-module-8e821bfeaceef6e97b2238c654be49e8ba111923.tar.gz
tutor-module-8e821bfeaceef6e97b2238c654be49e8ba111923.tar.xz
tutor-module-8e821bfeaceef6e97b2238c654be49e8ba111923.zip
Buttons intern umbenannt
Diffstat (limited to 'Dozentenmodul')
-rw-r--r--Dozentenmodul/src/GUI/MainMenue_GUI.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/Dozentenmodul/src/GUI/MainMenue_GUI.java b/Dozentenmodul/src/GUI/MainMenue_GUI.java
index 655d55ce..621f6561 100644
--- a/Dozentenmodul/src/GUI/MainMenue_GUI.java
+++ b/Dozentenmodul/src/GUI/MainMenue_GUI.java
@@ -355,7 +355,7 @@ public class MainMenue_GUI extends JFrame {
+ "Intelligenz\" lauten und referenzieren dabei auf das allgemeine Image <br>"
+ "\"Programmieren\".</html>");
lblGrafik.setIcon(new ImageIcon(MainMenue_GUI.class
- .getResource("/gui/Image zu Veranstaltung_gr\u00FCn.png")));
+ .getResource("/gui/Image_zu_Veranstaltung_gr\u00FCn.png")));
// ToolTipp lange anzeigen - 60sec
ToolTipManager.sharedInstance().setDismissDelay(60000);
ToolTipManager.sharedInstance().registerComponent(lblGrafik);
@@ -376,8 +376,9 @@ public class MainMenue_GUI extends JFrame {
buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
getContentPane().add(buttonPane);
{
- JButton cancelButton = new JButton("Weiter");
- cancelButton.addActionListener(new ActionListener() {
+ JButton continueButton = new JButton("Weiter");
+
+ continueButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (rdbtnImageNew.isSelected() == true) {
@@ -408,8 +409,9 @@ public class MainMenue_GUI extends JFrame {
}
}
});
- cancelButton.setActionCommand("Cancel");
- buttonPane.add(cancelButton);
+ continueButton.setActionCommand("OK");
+ buttonPane.add(continueButton);
+ getRootPane().setDefaultButton(continueButton);
}
}
{