Removed hard coded font name definitions.

This commit is contained in:
Nick Davis 2014-06-14 13:00:48 -04:00
parent 18bf6d4517
commit a3a9409c8d
3 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ public class DefaultReportConfigurationPanel extends javax.swing.JPanel {
infoLabel = new javax.swing.JLabel();
infoLabel.setFont(new java.awt.Font("Tahoma", 2, 11)); // NOI18N NON-NLS
infoLabel.setFont(new java.awt.Font(infoLabel.getFont().getName(), 2, 11));
org.openide.awt.Mnemonics.setLocalizedText(infoLabel, org.openide.util.NbBundle.getMessage(DefaultReportConfigurationPanel.class, "DefaultReportConfigurationPanel.infoLabel.text")); // NOI18N
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);

View File

@ -171,7 +171,7 @@ import org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus;
reportScrollPane.setViewportView(reportPanel);
titleLabel.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N NON-NLS
titleLabel.setFont(new java.awt.Font(titleLabel.getFont().getName(), 1, 11));
org.openide.awt.Mnemonics.setLocalizedText(titleLabel, org.openide.util.NbBundle.getMessage(ReportGenerationPanel.class, "ReportGenerationPanel.titleLabel.text")); // NOI18N
titleSeparator.setForeground(new java.awt.Color(0, 0, 0));

View File

@ -289,12 +289,12 @@ public class ReportProgressPanel extends javax.swing.JPanel {
}
});
reportLabel.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N NON-NLS
reportLabel.setFont(new java.awt.Font(reportLabel.getFont().getName(), 1, 11));
org.openide.awt.Mnemonics.setLocalizedText(reportLabel, org.openide.util.NbBundle.getMessage(ReportProgressPanel.class, "ReportProgressPanel.reportLabel.text")); // NOI18N
org.openide.awt.Mnemonics.setLocalizedText(pathLabel, org.openide.util.NbBundle.getMessage(ReportProgressPanel.class, "ReportProgressPanel.pathLabel.text")); // NOI18N
processingLabel.setFont(new java.awt.Font("Tahoma", 2, 10)); // NOI18N NON-NLS
processingLabel.setFont(new java.awt.Font(processingLabel.getFont().getName(), 2, 10)); // NOI18N NON-NLS
org.openide.awt.Mnemonics.setLocalizedText(processingLabel, org.openide.util.NbBundle.getMessage(ReportProgressPanel.class, "ReportProgressPanel.processingLabel.text")); // NOI18N
org.openide.awt.Mnemonics.setLocalizedText(separationLabel, org.openide.util.NbBundle.getMessage(ReportProgressPanel.class, "ReportProgressPanel.separationLabel.text")); // NOI18N