} else { String label = item.getLabel(); String cmd = item.getActionCommand(); boolean isTool = cmd.equals("Tool") || cmd.equals("Plugin Tool"); if (!(label.equals("Help...")||label.equals("Remove Custom Tools")) && !isTool && !label.endsWith("Tool") && !label.endsWith("Tool "))
} else { String label = item.getLabel(); String cmd = item.getActionCommand(); boolean isTool = cmd.equals("Tool") || cmd.equals("Plugin Tool"); if (!(label.equals("Help...")||label.equals("Remove Custom Tools")) && !isTool && !label.endsWith("Tool") && !label.endsWith("Tool "))