From a0dccf2ced3d14c5e23b1a11e5c579b29e079536 Mon Sep 17 00:00:00 2001 From: Nick Davis Date: Fri, 13 Jun 2014 14:39:30 -0400 Subject: [PATCH] Changed the explicit font name declaration to only adjust the font size. Which should result is continued use of the system default font. Testing on this one class. Will adjust others if this solves the problem. --- .../org/sleuthkit/autopsy/casemodule/CueBannerPanel.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/casemodule/CueBannerPanel.java b/Core/src/org/sleuthkit/autopsy/casemodule/CueBannerPanel.java index 8ba77d8690..6c2f9f08fb 100644 --- a/Core/src/org/sleuthkit/autopsy/casemodule/CueBannerPanel.java +++ b/Core/src/org/sleuthkit/autopsy/casemodule/CueBannerPanel.java @@ -103,11 +103,13 @@ public class CueBannerPanel extends javax.swing.JPanel { } }); - createNewLabel.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N NON-NLS +// createNewLabel.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N NON-NLS createNewLabel.setText(org.openide.util.NbBundle.getMessage(CueBannerPanel.class, "CueBannerPanel.createNewLabel.text")); // NOI18N + createNewLabel.setFont(createNewLabel.getFont().deriveFont(13.0f)); - openRecentLabel.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N NON-NLS +// openRecentLabel.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N NON-NLS openRecentLabel.setText(org.openide.util.NbBundle.getMessage(CueBannerPanel.class, "CueBannerPanel.openRecentLabel.text")); // NOI18N + openRecentLabel.setFont(openRecentLabel.getFont().deriveFont(13.0f)); openCaseButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/casemodule/btn_icon_open_existing.png"))); // NOI18N NON-NLS openCaseButton.setText(org.openide.util.NbBundle.getMessage(CueBannerPanel.class, "CueBannerPanel.openCaseButton.text")); // NOI18N @@ -122,8 +124,9 @@ public class CueBannerPanel extends javax.swing.JPanel { } }); - openLabel.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N NON-NLS +// openLabel.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N NON-NLS openLabel.setText(org.openide.util.NbBundle.getMessage(CueBannerPanel.class, "CueBannerPanel.openLabel.text")); // NOI18N + openLabel.setFont(openLabel.getFont().deriveFont(13.0f)); javax.swing.GroupLayout editorPanelLayout = new javax.swing.GroupLayout(editorPanel); editorPanel.setLayout(editorPanelLayout);