summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
diff options
context:
space:
mode:
authorSimon Rettberg2015-08-28 11:49:27 +0200
committerSimon Rettberg2015-08-28 11:49:27 +0200
commit977bf235b960e591f5706a02f89a0a79581c4959 (patch)
tree71fca2d0168a80f5db6ec05f938f6ee52322cdb3 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
parent[client] Apply default exception handler only to AWT thread (diff)
downloadtutor-module-977bf235b960e591f5706a02f89a0a79581c4959.tar.gz
tutor-module-977bf235b960e591f5706a02f89a0a79581c4959.tar.xz
tutor-module-977bf235b960e591f5706a02f89a0a79581c4959.zip
[client] Don't render HTML where it's not required
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.java6
1 files changed, 3 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 a59a93ae..f97cec5f 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
@@ -8,11 +8,11 @@ import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JButton;
-import javax.swing.JLabel;
import javax.swing.JPanel;
import org.apache.log4j.Logger;
import org.openslx.dozmod.gui.control.ImageListViewer;
+import org.openslx.dozmod.gui.control.QLabel;
import org.openslx.dozmod.gui.helper.CompositePage;
@@ -46,9 +46,9 @@ public abstract class ImageListWindowLayout extends CompositePage {
// --------------------------------------
// Info panel on the top with a search box
JPanel infoPanel = new JPanel(new BorderLayout());
- JLabel infoTitle = new JLabel(infoTitleString);
+ QLabel infoTitle = new QLabel(infoTitleString);
infoTitle.setFont(infoTitle.getFont().deriveFont(Font.BOLD));
- JLabel infoText = new JLabel(infoTextString);
+ QLabel infoText = new QLabel(infoTextString);
infoPanel.add(infoTitle, BorderLayout.NORTH);
infoPanel.add(infoText, BorderLayout.CENTER);
add(infoPanel, BorderLayout.NORTH);