diff options
author | Manuel Bentele | 2021-03-05 12:57:22 +0100 |
---|---|---|
committer | Manuel Bentele | 2021-03-11 07:46:19 +0100 |
commit | eee9dd7869e0fbd2cba3b3aecd105d2213884759 (patch) | |
tree | 21d83e43c015ed44cea678d8b370d57f5d0bf0b4 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java | |
parent | [server] Build and run dozmod-server as Docker container (diff) | |
download | tutor-module-eee9dd7869e0fbd2cba3b3aecd105d2213884759.tar.gz tutor-module-eee9dd7869e0fbd2cba3b3aecd105d2213884759.tar.xz tutor-module-eee9dd7869e0fbd2cba3b3aecd105d2213884759.zip |
[client] Fix warnings and replace deprecated methods
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 | 9 |
1 files changed, 5 insertions, 4 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 67ed8ec9..b8ccc9a9 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 @@ -9,7 +9,6 @@ import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JPanel; -import org.apache.log4j.Logger; import org.openslx.dozmod.gui.Gui; import org.openslx.dozmod.gui.control.ImageListViewer; import org.openslx.dozmod.gui.control.ImageListViewer.FilterType; @@ -18,13 +17,15 @@ import org.openslx.dozmod.gui.helper.CompositePage; import org.openslx.dozmod.gui.helper.GridManager; import org.openslx.dozmod.gui.helper.I18n; -@SuppressWarnings("serial") public abstract class ImageListWindowLayout extends CompositePage { - private final static Logger LOGGER = Logger.getLogger(ImageListWindowLayout.class); + /** + * Version for serialization. + */ + private static final long serialVersionUID = 2558709606798079473L; private static final int ICON_SIZE_Y = 24; - private final ImageListWindowLayout me = this; + protected final static String infoTextString = I18n.WINDOW_LAYOUT.getString("ImageList.Label.title.text"); protected final static String infoTitleString = I18n.WINDOW_LAYOUT.getString("ImageList.Label.info.text"); protected final static String newButtonLabel = I18n.WINDOW_LAYOUT.getString("ImageList.Button.newVM.text"); |