/** * Get the icon for a node. */ public Icon getSwingIcon() { Icon icon = iconcache.getIcon(desc.getType(), this, getModel()); if(busy) { icon = icon!=null ? new CombiIcon(new Icon[]{icon, icons.getIcon("overlay_busy")}) : icons.getIcon("overlay_busy"); } else if(broken) { icon = icon!=null ? new CombiIcon(new Icon[]{icon, icons.getIcon("overlay_check")}) : icons.getIcon("overlay_check"); } return icon; }