Package ipmsg

Examples of ipmsg.IPMPack


    case IPMEvent.READMSG_EVENT:
      getToolkit().beep();
      String tmpname = "";
      IPMComEvent tmpipmce
        = (IPMComEvent)ADDRtoINFO.get(ipme.getIPMAddress().toString());
      IPMPack tmppack;
      if (tmpipmce != null) {
        tmppack = tmpipmce.getPack();
        tmpname = ipmsg.makeListStr(tmppack);
      } else
        tmpname = ipme.getPack().getUser();
View Full Code Here


          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()
View Full Code Here

    final Choice choice1 = new Choice();
    Hashtable groupcache = new Hashtable();
    Enumeration members = ipmsg.getUserlist().elements();
    while (members.hasMoreElements()) {
      IPMComEvent tmpevent = (IPMComEvent) members.nextElement();
      IPMPack tmppack = tmpevent.getPack();
      if (tmppack.getGroup() != null
        && groupcache.get(tmppack.getGroup()) == null) {
        choice1.addItem(Cp932.toCp932(tmppack.getGroup()));
        groupcache.put(tmppack.getGroup(), tmppack.getGroup());
      }
    }
    choice1.addItemListener(new ItemListener() {
      public void itemStateChanged(ItemEvent ie) {
        textField2.setText(choice1.getSelectedItem());
View Full Code Here

TOP

Related Classes of ipmsg.IPMPack

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.