public Component getTreeCellRendererComponent( JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) {

        super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
        if (leaf && isGameObject(value)) {
            setIcon(UIManager.getIcon("FileView.computerIcon"));
        }
        if(isGameComponent(value))
        {
        	setIcon(UIManager.getIcon("FileView.hardDriveIcon"));
        }
        if(isFolder(value))
        {
        	setIcon(UIManager.getIcon("FileChooser.upFolderIcon"));
        } 

        return this;
    }