diff options
author | Jonathan Bauer | 2015-08-10 15:10:45 +0200 |
---|---|---|
committer | Jonathan Bauer | 2015-08-10 15:10:45 +0200 |
commit | f035c9f75a6ebf91c37d68fa9c0977bde381532a (patch) | |
tree | 545f66de43d27cfbe646c7419dce5eb231b1d73f /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java | |
parent | [client] removed right info pane for lecture. Added start/end date in table. (diff) | |
download | tutor-module-f035c9f75a6ebf91c37d68fa9c0977bde381532a.tar.gz tutor-module-f035c9f75a6ebf91c37d68fa9c0977bde381532a.tar.xz tutor-module-f035c9f75a6ebf91c37d68fa9c0977bde381532a.zip |
[client] "download" button in popupmenu, fine tune buttons on image list
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java index 7174d4d0..56f38c98 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java @@ -1,8 +1,10 @@ package org.openslx.dozmod.gui.window.layout; import java.awt.BorderLayout; +import java.awt.Dimension; import java.awt.Font; +import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JLabel; @@ -25,8 +27,8 @@ public abstract class ImageListWindowLayout extends CompositePage { protected final static String newButtonLabel = "Neu"; protected final static String newLectureButtonLabel = "Neue Veranstaltung"; protected final static String editButtonLabel = "Bearbeiten"; - protected final static String deleteButtonLabel = "Löschen"; protected final static String downloadButtonLabel = "Download"; + protected final static String deleteButtonLabel = "Löschen"; protected final static String backButtonLabel = "Zurück"; protected final static String tableGroupLabel = "Images"; protected final static String filterGroupLabel = "Filter"; @@ -37,8 +39,8 @@ public abstract class ImageListWindowLayout extends CompositePage { protected ImageTable imageTable; protected JButton newButton; protected JButton newLectureButton; - protected JButton deleteButton; protected JButton downloadButton; + protected JButton deleteButton; protected JButton backButton; @@ -77,8 +79,10 @@ public abstract class ImageListWindowLayout extends CompositePage { backButton = new JButton(backButtonLabel); buttonPanel.add(newButton); buttonPanel.add(newLectureButton); - buttonPanel.add(deleteButton); buttonPanel.add(downloadButton); + buttonPanel.add(Box.createRigidArea(new Dimension(5, 0))); + buttonPanel.add(deleteButton); + buttonPanel.add(Box.createHorizontalGlue()); buttonPanel.add(backButton); listPanel.add(buttonPanel, BorderLayout.PAGE_END); } |