summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageMetaDataPageLayout.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/wizard/layout/ImageMetaDataPageLayout.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/wizard/layout/ImageMetaDataPageLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageMetaDataPageLayout.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageMetaDataPageLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageMetaDataPageLayout.java
index 4b0dc2cc..f592743a 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageMetaDataPageLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageMetaDataPageLayout.java
@@ -4,7 +4,6 @@ import java.awt.Dimension;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
-import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
@@ -13,6 +12,7 @@ import javax.swing.border.TitledBorder;
import org.openslx.bwlp.thrift.iface.OperatingSystem;
import org.openslx.dozmod.gui.control.ComboBox;
import org.openslx.dozmod.gui.control.ComboBox.ComboBoxRenderer;
+import org.openslx.dozmod.gui.control.QLabel;
import org.openslx.dozmod.gui.helper.GridManager;
import org.openslx.dozmod.gui.wizard.Wizard;
import org.openslx.dozmod.gui.wizard.WizardPage;
@@ -44,7 +44,7 @@ public abstract class ImageMetaDataPageLayout extends WizardPage {
GridManager grid = new GridManager(this, 2, false);
- JLabel osCaption = new JLabel("Betriebssystem");
+ QLabel osCaption = new QLabel("Betriebssystem");
osCombo = new ComboBox<>(Comparators.operatingSystem, new ComboBoxRenderer<OperatingSystem>() {
@Override
public String renderItem(OperatingSystem item) {
@@ -57,7 +57,7 @@ public abstract class ImageMetaDataPageLayout extends WizardPage {
grid.add(osCaption);
grid.add(osCombo);
- JLabel descriptionCation = new JLabel("Beschreibung");
+ QLabel descriptionCation = new QLabel("Beschreibung");
descriptionText = new JTextArea(5, 50);
descriptionText.setMinimumSize(new Dimension(0, 70));
descriptionText.setLineWrap(true);