} else { person = new Person(); person.addNumber(new PhoneNumber(caller)); Debug.msg("Found no person"); Debug.msg("Add dummy person to database"); phonebook.addEntry(person); phonebook.fireTableDataChanged();
    private String searchNameToPhoneNumber(String caller) {        String name = "";        PhoneNumber callerPhoneNumber = new PhoneNumber(caller);        Debug.msg("Searchin in local database ...");        Person callerperson = phonebook.findPerson(callerPhoneNumber);        if (callerperson != null) {            name = callerperson.getFullname();            Debug.msg("Found in local database: " + name);        } else {            Debug.msg("Searchin on dasoertliche.de ...");            Person person = ReverseLookup.lookup(callerPhoneNumber);            if (!person.getFullname().equals("")) {                name = person.getFullname();                Debug.msg("Found on dasoertliche.de: " + name);                Debug.msg("Add person to database");                phonebook.addEntry(person);                phonebook.fireTableDataChanged();            }        }        return name;    }