public DefaultListModel<String> getAllFriendsNames() {
    DefaultListModel<String> friendsNames = new DefaultListModel<String>();
    for (Friend friend : friendsList) {
      if (friend.isOnline()) {
        friendsNames.addElement("<html><font color=green>&nbsp;&nbsp;&nbsp;" + BULLET + "&nbsp;" + friend.getName()
            + "</font></html>");
      }
      else {
        friendsNames.addElement("<html><font color=gray>&nbsp;&nbsp;&nbsp;" + BULLET + "&nbsp;" + friend.getName()
            + "</font></html>");
      }
    }
    return friendsNames;
  }