Merge pull request #763 from mrtizmo/fixbrokenfont

Test fix for localized text displaying as squares
This commit is contained in:
Richard Cordovano 2014-06-13 16:35:32 -04:00
commit fcad839e1f

View File

@ -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);