diff options
Diffstat (limited to 'javax/swing/JTree.java')
-rw-r--r-- | javax/swing/JTree.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/javax/swing/JTree.java b/javax/swing/JTree.java index 6530265b9..fa898c5a9 100644 --- a/javax/swing/JTree.java +++ b/javax/swing/JTree.java @@ -1515,6 +1515,9 @@ public class JTree extends JComponent implements Scrollable, Accessible // The root node appears expanded by default. nodeStates = new Hashtable(); + // The cell renderer gets set by the UI. + cellRenderer = null; + // Install the UI before installing the model. This way we avoid double // initialization of lots of UI and model stuff inside the UI and related // classes. The necessary UI updates are performed via property change |