powerDownloadPanel.btnPdl. setEnabled(false);
        public void setDownloadNode(Object node) {            if (node == null) {                nodeObject = null;                if (worker != null) {                    worker.interrupt();                    worker = null;                }                return;            }            if (worker != null) {                worker.interrupt();                worker = null;            }            nodeObject = node;            worker = new Thread() {                public void run() {                    try {                        sleep(2000);                        SwingUtilities.invokeLater(new Runnable() {                            public void run() {                                if (nodeObject.getClass() ==                                    DownloadMainNode.class                                    &&                                    ( (DownloadMainNode) nodeObject).                                    getType() ==                                    DownloadMainNode.ROOT_NODE) {                                    powerDownloadPanel.btnPdl.                                        setEnabled(false);                                    downloadDOOverviewPanel.setDownloadDO( ( (                                        DownloadMainNode) nodeObject).                                        getDownloadDO());                                }                                else if (nodeObject.getClass() ==                                         DownloadSourceDO.class) {                                    powerDownloadPanel.btnPdl.                                        setEnabled(false);                                    if ( ( (DownloadSourceDO) nodeObject).                                        getStatus() ==                                        DownloadSourceDO.IN_WARTESCHLANGE &&                                        ( (DownloadSourceDO) nodeObject).                                        getQueuePosition() > 20) {                                        return;                                    }                                    downloadDOOverviewPanel.setDownloadSourceDO( (                                        DownloadSourceDO) nodeObject);                                }                            }                        });                    }                    catch (InterruptedException ex) {                        interrupt();                    }                }            };            worker.start();        }