From 59ff704aac82e8e746d4227cf6d881d32e6cb109 Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 2 Apr 2012 16:39:28 +0000 Subject: Wrap Smartcard and Reader name in HardwareInfo git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1064 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'BKUGuiExt/src/main/java/at') 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("" + showsmartcardname + ""); + 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("" + showcardreadername+ ""); lblReaderContent.setVerticalAlignment(SwingConstants.CENTER); lblReaderContent.setFont(lblReaderContent.getFont().deriveFont( lblReaderContent.getFont().getStyle() -- cgit v1.2.3