diff options
author | Jonathan Bauer | 2015-09-02 16:26:42 +0200 |
---|---|---|
committer | Jonathan Bauer | 2015-09-02 16:26:42 +0200 |
commit | efbdc799332fd3746afebaa469cc713dbc40501c (patch) | |
tree | 5dd8201febdaa9358b199b6091af701ef4f36298 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java | |
parent | [client] ConfigWindow: font in steps of 5, removed redundant labels (diff) | |
download | tutor-module-efbdc799332fd3746afebaa469cc713dbc40501c.tar.gz tutor-module-efbdc799332fd3746afebaa469cc713dbc40501c.tar.xz tutor-module-efbdc799332fd3746afebaa469cc713dbc40501c.zip |
[client] "Cancel"/"Save" button order for DetailsWindows
added confirmation if the user wants to close a detail window were he changed some of the field
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java index fb56eda0..de8867d1 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java @@ -239,11 +239,11 @@ public abstract class LectureDetailsWindowLayout extends JDialog { // button panel on the bottom JPanel buttonPanel = new JPanel(); buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.X_AXIS)); + btnClose = new JButton("Abbrechen"); btnSaveChanges = new JButton("Speichern"); - btnClose = new JButton("Schließen"); buttonPanel.add(Box.createGlue()); - buttonPanel.add(btnSaveChanges); buttonPanel.add(btnClose); + buttonPanel.add(btnSaveChanges); add(buttonPanel, BorderLayout.SOUTH); } |