public String[] getSelectedNicks() {
    Object[] objects = nicklist.getSelectedValues();
    String[] nicks = new String[objects.length];
    String nick;
    for (int i = 0; i < nicks.length; i++) {
      nick = (String)objects[i];
      if (nick.charAt(0) == '@' || nick.charAt(0) == '+')
        nick = nick.substring(1);
      nicks[i] = nick;
    }
    return nicks;
  }