asked = JOptionPane.showOptionDialog(Main.parent, tr("Ignore whole group or individual elements?"),
tr("Ignoring elements"), JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE, null,
a, a[1]);
}
if (asked == JOptionPane.YES_NO_OPTION) {
Enumeration<DefaultMutableTreeNode> children = node.breadthFirstEnumeration();
while (children.hasMoreElements()) {
DefaultMutableTreeNode childNode = children.nextElement();
if (processedNodes.contains(childNode)) {
continue;
}