Esempio n. 1
0
  public void clear() {
    contact = null;
    personView.clear();
    teleView.clear();
    emailView.clear();
    websiteView.clear();
    addressView.clear();

    if (cbTelAddress != null) {
      cbTelAddress.removeItemListener(this);
      remove(cbTelAddress);
      revalidate();
      cbTelAddress = null;
    }
    linkTelAddress = false;
    note.setText("");
  }
Esempio n. 2
0
 public void setNote(Note n) {
   if (n != null) {
     String s = n.getText().replace('\n', ' ');
     note.setText(s);
   }
 }