I have been working on this small problem for hours and cant seem to find problem, bassically it is not recognising a word when i compare user entered word to a word in the array list. Here is code:
birdToRemove = JOptionPane.showInputDialog("Type bird to remove, or cancel 
to continue");
    while(increment <= amountBirds)
    {
        if(birdToRemove == birdArray[increment])
        {
            found = true;
            birdArray[increment] = null;
            JOptionPane.showMessageDialog(null, "Deleted");
            deleteEntry();
        }
        if(birdArray[increment] != birdToRemove)
        {
            increment = increment + 1;
        }
    }
    if(found == false)
    {
        JOptionPane.showMessageDialog(null, "Error, bird not found", "Error", JOptionPane.ERROR_MESSAGE);
    }
Everytime it will say Error bird not found Kind regards Jordan
