public DefaultListModel<String> getOnlineFriendsNames() {
    DefaultListModel<String> friendsNames = new DefaultListModel<String>();
    for (Friend friend : friendsList) {
      if (friend.isOnline()) {
        friendsNames.addElement(BULLET + friend.getName());
      }
    }
    return friendsNames;
  }