From 97a61ee8a5dac1a0a5fbf7777d01976f52c76e96 Mon Sep 17 00:00:00 2001 From: awnuk Date: Thu, 17 Apr 2008 21:48:41 +0000 Subject: Fixed bug #441901 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@23 c9f7a03b-bd48-0410-a16d-cbbf54688b0b --- .../console/src/com/netscape/admin/certsrv/ug/CertImportDialog.java | 2 ++ pki/base/console/src/com/netscape/admin/certsrv/ug/CertViewDialog.java | 2 ++ 2 files changed, 4 insertions(+) (limited to 'pki') diff --git a/pki/base/console/src/com/netscape/admin/certsrv/ug/CertImportDialog.java b/pki/base/console/src/com/netscape/admin/certsrv/ug/CertImportDialog.java index d400666d0..bc187e105 100644 --- a/pki/base/console/src/com/netscape/admin/certsrv/ug/CertImportDialog.java +++ b/pki/base/console/src/com/netscape/admin/certsrv/ug/CertImportDialog.java @@ -232,6 +232,8 @@ public class CertImportDialog extends JDialog CMSAdminUtil.resetGBC(gbc); mTextArea = new JTextArea("",40,70); + Font f = new Font("Monospaced", Font.PLAIN, 12); + if (f != null) mTextArea.setFont(f); mTextArea.getDocument().addDocumentListener(this); mTextArea.addMouseListener(this); JScrollPane scrollPanel = new JScrollPane(mTextArea, diff --git a/pki/base/console/src/com/netscape/admin/certsrv/ug/CertViewDialog.java b/pki/base/console/src/com/netscape/admin/certsrv/ug/CertViewDialog.java index 272eb3304..864dca1e8 100644 --- a/pki/base/console/src/com/netscape/admin/certsrv/ug/CertViewDialog.java +++ b/pki/base/console/src/com/netscape/admin/certsrv/ug/CertViewDialog.java @@ -174,6 +174,8 @@ public class CertViewDialog extends JDialog CMSAdminUtil.resetGBC(gbc); mTextArea = new JTextArea("",40,70); + Font f = new Font("Monospaced", Font.PLAIN, 12); + if (f != null) mTextArea.setFont(f); mTextArea.setEditable(false); mTextArea.setBackground(getBackground()); JScrollPane scrollPanel = new JScrollPane(mTextArea, -- cgit