groups.removeAll();
groups.add(ipmsg.getPref("allName"));
Enumeration members = ipmsg.getUserlist().elements();
SortVector tmpvec = new SortVector();
while (members.hasMoreElements()) {
IPMComEvent tmpevent = (IPMComEvent) members.nextElement();
tmpvec.addElement(makeSortKey(tmpevent), tmpevent);
}
members = tmpvec.elements();
while (members.hasMoreElements()) {
IPMComEvent tmpevent = (IPMComEvent) members.nextElement();
IPMPack tmppack = tmpevent.getPack();
if (tmppack.getGroup() != null
&& groupcache.get(tmppack.getGroup()) == null) {
groups.addItem(Cp932.toCp932(tmppack.getGroup()));
groupcache.put(tmppack.getGroup(), tmppack.getGroup());
}
if (!tmpgroup.equals(ipmsg.getPref("allName")))
if (tmppack.getGroup() == null)
continue;
else if (!tmppack.getGroup().equals(tmpgroup))
continue;
String tmpstr = Cp932.toCp932(ipmsg.makeListStr(tmppack));
memberlist.add(tmpstr);
NAMEtoINFO.put(tmpstr, tmpevent);
ADDRtoINFO.put(tmpevent.getIPMAddress().toString()
, tmpevent);
}
if (memberlist.getItemCount() == 0) {
tmpgroup = ipmsg.getPref("allName");
refreshing = true;