if (treeModel != null)
if (treeModel != null && hasControlIcons())
  protected void paintExpandControl(Graphics g, Rectangle clipBounds,                                    Insets insets, Rectangle bounds,                                    TreePath path, int row,                                    boolean isExpanded, boolean hasBeenExpanded,                                    boolean isLeaf)  {    if (treeModel != null)      paintControlIcons(g, 0, 0, 0, 0, tree, treeModel, path.getLastPathComponent());  }