summaryrefslogtreecommitdiff
path: root/javax/swing/tree/DefaultTreeCellRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/swing/tree/DefaultTreeCellRenderer.java')
-rw-r--r--javax/swing/tree/DefaultTreeCellRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/javax/swing/tree/DefaultTreeCellRenderer.java b/javax/swing/tree/DefaultTreeCellRenderer.java
index ac726d263..db69c6055 100644
--- a/javax/swing/tree/DefaultTreeCellRenderer.java
+++ b/javax/swing/tree/DefaultTreeCellRenderer.java
@@ -391,7 +391,7 @@ public class DefaultTreeCellRenderer
setOpaque(true);
setVerticalAlignment(TOP);
setEnabled(true);
- setFont(getFont());
+ super.setFont(UIManager.getLookAndFeelDefaults().getFont("Tree.font"));
}
if (selected)