DialogThread dt = new DialogThread(gui, dialog, pendingCalls, accountId, callId, sipUri, displayName);
String nm; String an;  if (displayName.trim().equalsIgnoreCase("")) { nm = ""; } else { nm = " (" + displayName + ")"; }  if (accName.trim().equalsIgnoreCase("")) { an = ""; } else { an = " (\"" + accName + "\")"; }  print("Incoming call # " + callId + " from " + sipUri + nm +" to account #"+accountId+ an +".");  DialogThread dt = new DialogThread(gui, dialog, pendingCalls, accountId, callId, sipUri, displayName, accName);
    public boolean incomingCall(int accountId, int callId, String sipUri,            String displayName) {        try {                        print("Incoming call # " + callId + " from " + sipUri + " ("                    + displayName + ").");                        DialogThread dt = new DialogThread(gui, dialog, pendingCalls, accountId, callId, sipUri, displayName);            dt.start();                                  return true;        } catch (Exception e) {            {                e.printStackTrace();                return false;            }        }    }