summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-04-02 16:39:28 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-04-02 16:39:28 +0000
commit59ff704aac82e8e746d4227cf6d881d32e6cb109 (patch)
treec2fc3a68161be52db73074de961987f3ffba5eaf
parent1494a51e32912d525bc81c430131948b2e7c76cf (diff)
downloadmocca-59ff704aac82e8e746d4227cf6d881d32e6cb109.tar.gz
mocca-59ff704aac82e8e746d4227cf6d881d32e6cb109.tar.bz2
mocca-59ff704aac82e8e746d4227cf6d881d32e6cb109.zip
Wrap Smartcard and Reader name in HardwareInfo
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1064 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
-rw-r--r--BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java
index a46531aa..9bbe312f 100644
--- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java
+++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java
@@ -119,7 +119,8 @@ public class GetHardwareInfoGUI extends CardMgmtGUI implements
lblAtr.getFont().getStyle()
& java.awt.Font.BOLD));
- lblTypeContent = new JLabel(showsmartcardname);
+ lblTypeContent = new JLabel("<html>" + showsmartcardname + "</html>");
+ lblTypeContent.setVerticalAlignment(SwingConstants.CENTER);
lblTypeContent.setFont(lblTypeContent.getFont().deriveFont(
lblTypeContent.getFont().getStyle()
& ~java.awt.Font.BOLD));
@@ -130,7 +131,7 @@ public class GetHardwareInfoGUI extends CardMgmtGUI implements
lblAtrContent.getFont().getStyle()
& ~java.awt.Font.BOLD));
- lblReaderContent = new JLabel(showcardreadername);
+ lblReaderContent = new JLabel("<html>" + showcardreadername+ "</html>");
lblReaderContent.setVerticalAlignment(SwingConstants.CENTER);
lblReaderContent.setFont(lblReaderContent.getFont().deriveFont(
lblReaderContent.getFont().getStyle()