@Override
    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);

        MaNode node = (MaNode) value;

        switch (node.getType()) {
            case MaNode.NODE_PARALLELE:
                setIcon(iconSource);
                break;
            case MaNode.NODE_BRANCHE:
                setIcon(iconPackage);
                break;
            case MaNode.NODE_RESISTANCE:
                setIcon(iconClass);
                break;
            case MaNode.NODE_BURNED:
                setIcon(iconFolder);
                break;
            case MaNode.NODE_ROOT:
                setIcon(iconProject);
                break;
        }

        return this;
    }