Package nu.fw.jeti.ui

Examples of nu.fw.jeti.ui.AddContact


          method = (Object[]) queue.removeFirst();
         
        }
        String m = (String)method[0];
        if(m.equals("openChat")) backend.getMain().startChat((JID)method[1]);
        else if (m.equals("addContact")) new AddContact((JID)method[1], null, backend).setVisible(true);
        else if (m.equals("login")) login((String)method[1],(String)method[2],(String)method[3]);
      }
    }
View Full Code Here


                                    item,true);
            item.addActionListener(new ActionListener()
            {
                public void actionPerformed(ActionEvent e)
                {
                    new AddContact(a.getFullJID(),window,backend).setVisible(true);
                }
            });
            actionMenu.add(item);
        }
        Map menuItems = backend.getMain().getRosterMenuItems();
View Full Code Here

          if(keyvalue.startsWith("name"))name = value;
          else if(keyvalue.startsWith("group"))group=value;
        }
      }
    }
    new AddContact(jid,name,group,backend).setVisible(true);
  }
View Full Code Here

            {
              jid = JID.jidFromString(data.getValue());
            }
            else if("nick".equals(data.getVar()))nick  = data.getValue();
          }
          if(jid!=null)new AddContact(jid,nick,null,backend).setVisible(true);
     
        }
      });
      panel.add(button);
      button = new JButton();
View Full Code Here

        {
          Map map = (Map)results.get(current);
          System.out.println("dfdf" + map.get("JID"));
          JID jid = JID.jidFromString((String)map.get("JID"));
          if(jid==null)return;
          new AddContact(jid,(String)map.get("nick"),null,backend).setVisible(true);     
        }
      });
      jPanel2.add(button);
      button = new JButton();
      I18N.setTextAndMnemonic("search.Chat",button);
View Full Code Here

TOP

Related Classes of nu.fw.jeti.ui.AddContact

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.