tree.addPropertyChangeListener(TreeCheck.NODE_SELECTED_PROPERTY, this);
    public FilterWindow(Object parent, JFrame owner, int containerType,                         Set nodes)    {        super(owner, "Filter Images Retrieval", true);        if (nodes == null)             throw new IllegalArgumentException("No nodes.");        if (parent == null)            throw new IllegalArgumentException("Parent cannot be null.");        checkType(containerType);        this.parent = parent;        this.containerType = containerType;        initComponents();        buildGUI(getFilterComponent(nodes));        attachListeners();        setSize(WINDOW_SIZE);    }