src/share/classes/javax/swing/plaf/synth/SynthTreeUI.java

Print this page

        

@@ -310,11 +310,11 @@
 
         Rectangle paintBounds = g.getClipBounds();
         Insets insets = tree.getInsets();
         TreePath initialPath = getClosestPathForLocation(tree, 0,
                                                          paintBounds.y);
-        Enumeration paintingEnumerator = treeState.getVisiblePathsFrom
+        Enumeration<?> paintingEnumerator = treeState.getVisiblePathsFrom
                                               (initialPath);
         int row = treeState.getRowForPath(initialPath);
         int endY = paintBounds.y + paintBounds.height;
         TreeModel treeModel = tree.getModel();
         SynthContext cellContext = getContext(tree, Region.TREE_CELL);