diff options
author | Simon Rettberg | 2015-08-28 11:49:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-08-28 11:49:27 +0200 |
commit | 977bf235b960e591f5706a02f89a0a79581c4959 (patch) | |
tree | 71fca2d0168a80f5db6ec05f938f6ee52322cdb3 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java | |
parent | [client] Apply default exception handler only to AWT thread (diff) | |
download | tutor-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/LectureListWindowLayout.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java index 2993b8e9..b7104ece 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureListWindowLayout.java @@ -8,12 +8,12 @@ import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JComboBox; -import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTextField; import javax.swing.border.TitledBorder; +import org.openslx.dozmod.gui.control.QLabel; import org.openslx.dozmod.gui.control.table.LectureTable; import org.openslx.dozmod.gui.helper.CompositePage; import org.openslx.dozmod.gui.helper.GridPos; @@ -60,10 +60,10 @@ public abstract class LectureListWindowLayout extends CompositePage { JPanel infoComposite = new JPanel(); infoComposite.setLayout(new BoxLayout(infoComposite, BoxLayout.PAGE_AXIS)); // title of the info group in bold - JLabel infoTitle = new JLabel(infoTitleString); + QLabel infoTitle = new QLabel(infoTitleString); infoTitle.setFont(infoTitle.getFont().deriveFont(Font.BOLD)); // the infotext - JLabel infoText = new JLabel(infoTextString); + QLabel infoText = new QLabel(infoTextString); infoComposite.add(infoTitle); infoComposite.add(infoText); // -- end group of title -- @@ -110,7 +110,7 @@ public abstract class LectureListWindowLayout extends CompositePage { } public JTextField createCaptionAndTextfield(String captionString, JPanel group, int row) { - JLabel caption = new JLabel(captionString); + QLabel caption = new QLabel(captionString); JTextField textField = new JTextField(); textField.setEditable(false); caption.setText(captionString); |