if (actacc.registered) {
    private void jLabel13MouseReleased(java.awt.event.MouseEvent evt) {        jLabel13.setIcon(new ImageIcon(cl                .getResource("gui/resources/phone_up.gif")));        String sipurl = jTextField1.getText();        if (!sipurl.trim().equalsIgnoreCase("")) {            if (actacc != null) {                if (actacc.registered) {                    Vector v = new Vector();                    v.add(new Integer(actacc.id));                    v.add(sipurl);                    Object o = execute("core.makeCall", v);                    if (o != null) {                        int id = ((Integer) o).intValue();                        Call c = new Call(id, actacc.id, sipurl, dname);                        dname = "";                        calls.add(c);                        ImageIcon img = new ImageIcon(cl                                .getResource("gui/resources/gray.gif"));                        if (c.name.trim().equalsIgnoreCase("")) {                            img.setDescription(sipurl);                        } else {                            img.setDescription(sipurl + " (" + c.name + ")");                        }                        list2.addElement(img);                        print("Trying to call " + sipurl + " (call # " + id                                + ").");                    }                } else {                    JOptionPane.showMessageDialog(this, "Account #" + actacc.id                            + " not registered.", "ERROR",                            JOptionPane.ERROR_MESSAGE);                }            } else {                JOptionPane.showMessageDialog(this, "No account selected.",                        "ERROR", JOptionPane.ERROR_MESSAGE);            }        } else {            JOptionPane.showMessageDialog(this, "Enter a SIP URL to call.",                    "ERROR", JOptionPane.ERROR_MESSAGE);        }    }