Package net.suberic.pooka

Examples of net.suberic.pooka.AddressBook


      if (fw != null)
        fw.setBusy(true);;

      try {
        UserProfile defaultProfile = getDefaultProfile();
        AddressBook book = null;

        if (defaultProfile != null) {
          book = defaultProfile.getAddressBook();
        }

        if (book == null) {
          // get the default Address Book.
          book = Pooka.getAddressBookManager().getDefault();
        }
        if (book != null) {
          final String newAddress = getMessageInfo().addAddress(book, true);
          final String bookName = book.getAddressBookID();

          SwingUtilities.invokeLater(new Runnable() {
              public void run() {
                getMessageUI().showMessageDialog(Pooka.getResources().formatMessage("info.AddressBook.add", newAddress, bookName), Pooka.getProperty("info.AddressBook.add.title", "Address Added"));
              }
View Full Code Here

TOP

Related Classes of net.suberic.pooka.AddressBook

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.