if (f == null) { JOptionPane.showMessageDialog(findWindow, "Please check that all square brackets [ & ]\n" + "are paired and that only the characters \n" + "0123456789ABCDEFabcdef<space>\n" + "appear between brackets.", "Invalid Search", JOptionPane.ERROR_MESSAGE); return; }
    private void find()    {        CCInfo cct = cc[TEXT_CC_TYPE[currentList]]; //current CC Type        if (findTF == null)            return;        String f = cct.deparseString(findTF.getText().toLowerCase());        int tmp = 0, s = textLists[currentList].size(), c = currentSelection + 1;        for (int i = 0; i < textLists[currentList].size(); i++)        {            int j = i + c < s ? i + c : i + c - s;            if (cct.deparseString(                cct                    .parseString(                        (((StrInfo) textLists[currentList].get(j)).str))                    .toLowerCase()).indexOf(f) != -1)            {                showInfo(currentList, j);                return;            }        }    }