/** * Sets the nickname of the contact. * * @param nickname the contact nickname. */ public void setNickname(String nickname) { this.nickname = nickname; if (alias == null) { setDisplayName(); } }
/** * Sets the alias of the contact. * * @param alias the contact alias. */ public void setAlias(String alias) { this.alias = alias; setDisplayName(); }
add(sideIcon, new GridBagConstraints(4, 0, 1, 2, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 0, 0), 0, 0)); setDisplayName();