public void actionPerformed(java.awt.event.ActionEvent e) {
TreePath selectionPath = _descriptorTree.getSelectionPath();
if(selectionPath != null) {
DefaultMutableTreeNode node = (DefaultMutableTreeNode) selectionPath.getLastPathComponent();
if (node != null && node.getUserObject() instanceof XmlElement) {
final XmlElement element = (XmlElement)node.getUserObject();
if (element != null) {
WaitPanel.start(DownloadManagerPanel.this, new Runnable() {
public void run() {
handleElement(element);
}