Address book attacked

I recently found more and more spam was getting by my spam filter in Mail, so I checked my address book. Sure enough, it was filled with spam addresses. This happened to me before, and I was able to resolve the issue by going into time machine and restoring my address book from the day before it jumped in volume by 500 addresses. However, this time that doesn't work. First I tried "restore all" in time machine from within address book, and it only corrected 3 duplicates, and left me with all the 500 junk email addresses that were not within the previous version. Then I tried to do it within the finder, going to Home>Library>Application Support Folder>AddressBook and trying to restore that from before the spam address dump. I was told I did not have sufficient privileges to change some of the items, and my address book remained filled with spam addresses. I could go through and remove the addresses manually, but that is painstaking and time consuming. Any ideas?

Dear Golden Shoes
That is exactly what I did. I tried again outside of the Time Machine environment, just copying the appropriate folder through the finder, and I got the same insufficient privileges message - And I am logged in as admin. I also have backups of my address Book - but since the address book is in dynamic use, the Time Machine backup is the most useful.
Perhaps you are right to say that there is no way that malware can do this, I am certainly not enough of an expert on OS security to dispute this. Nevertheless, I can only report what I observe: On August 27 my address book had 580 entries, and on August 29 it had 1080 entries (I was traveling internationally at the time so connecting to my Time Machine backup irregularly). I now see that half the addresses address in my address book are totally unrecognizable, and seem to be related to the large number of messages that are getting past my spam filter. I am not sure how I could make an error causing this myself (again, this is the 2nd time I have observed this happening to my machine) so my uneducated assumption is that somehow my machine was accessed without my approval, and this occurrence may indicate a security breach that Apple needs to know about.

Similar Messages

  • Running 10.5.8  Virus is attacking my address book.  Help please.

    running 10.5.8   Virus is attacking my address book. help please.

    No it isn't!
    There are many forms of ‘Malware’ that can affect a computer system, of which ‘a virus’ is but one type, ‘trojans’ another. Using the strict definition of a computer virus, no viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions. The same is not true of other forms of malware, such as Trojans. Whilst it is a fairly safe bet that your Mac has NOT been infected by a virus, it may have another security-related problem, but more likely a technical problem unrelated to any malware threat.
    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
    https://discussions.apple.com/docs/DOC-2435
    The User Tip (which you are welcome to print out and retain for future reference) seeks to offer guidance on the main security threats and how to avoid them.
    More useful information can also be found here:
    http://www.reedcorner.net/mmg/

  • How do I make Address Book default for vCards

    I use Apple Address Book (6.0) and have the Lion O/S 10.7.1on my 2 Macs.  My Apple Address book syncs with my Gmail (Google Apps) contacts. Recently when I opened a vCard, Outlook for the Mac attempted to open the vCard.  I cancelled this as I no longer us Outlook for the Mac, but have only used Apple Mail and Address Book for several months.  As I cancelled the opening process, there was a brief message, "Rebuilding database".  About 30 minutes later I realized that all contacts in my Apple Address Book were missing. I quickly looked at my Gmail contacts and saw that the only contact was the one for the vCard I imported.  After recovering from a panic attack (I have over 2,000 names in my contact list), I went to my Macbook Air laptop, which was asleep during this time, and was able to export my Address Book to my iMac. The Macbook Air Address Book had synced with Google Apps the day before.
    After the recovery, everything seems in order except when I check for duplicates in Google Apps Mail Contacts, I find that I now have 2,000 duplicate contacts.  When I check for duplicates in Apple Mail I am told there are 83 duplicates.
    I am still not sure what caused this to happen and I am still considering how to prevent this in the future, and how to resolve the duplicate contacts issue.  I need to understate which contact list dominates - Apple or Gmail?
    But my first step is to make Address Book the default for vCards.  How to I do this.  Next I will work on the duplicate problem.

    I don't have or use Outlook 2011 but based on my past experience wth Outlook and Entourage it uses its own contacts by default and can't be configured to use an external resource. However, you might learn more on the Outlook support forums since this forum is primarily for Apple products.

  • Address Book Disabled

    Mac OS 10.4.5
    896MB RAM
    G4 DP 500MHz
    I opened Address Book and everything except the following are grey (non-clickable):
    File: Import (However, vCards, LDIF, & Text File are grey.)
    File: Send Updates
    Edit: Find (However, Find & Use Selection for Find are grey.)
    Edit: Special Characters
    Card: Add Field (However, everything is grey in this area, too.)
    Help: Address Book Help
    When I click on Preferences, nothing happens.
    I've used Disk Utility and repaired permissions. But that doesn't help. I've tried clicking on the Address Book data file and telling OS X to use Address Book to open the file. But Address Book is grey in that window.
    I'm out of ideas.
    G4 DP 500MHz   Mac OS X (10.4.5)  

    The Combo reinstall didn't solve the problem. In fact, it almost made me have a heart attack. All the applications quit functioning. Only the applications I installed on another volume worked. I was lucky enough to have Disk Image still working when I tried to mount the MacOSXUpdCombo10.4.5PPC.dmg file again. I tried reinstalling again but the installer immediately stopped, mentioned there were errors, and recommending try again. (When that happened before, that means REFORMAT, REINSTALL, not good.) Lucky enough again, I immediately clicked on the previously non-functioning applications which have now decided to work again.
    Address Book is still in its own little world and the original problems still exist.
    In the /Library folder, the Address Book Plug-Ins folder is invisible. The name is underneath an invisible folder. Click on the name and the folder immediately appears and both the name and folder immediately disappear.
    I did create a New User and Address Book is functioning properly in that account. So the problems are related to my home account.
    Thanks in advance for any information (and although Apple does mention it can fix broken Address Books as well, no more combo updates!! :-p )
    Richard Yeager

  • Address book .... importing text file

    I am designing an address book which opens a text file called AddressBook.txt which reads in the information in the following format:
    lastname,firstname,street,city,state,zip,phonenumber,birthday,persontype
    lastname2,firstname2,street2,city2,state2,zip2,phonenumber2,birthday2,persontype2
    etc. (with a maximum entries of 500)
    I am having a problem reading in the information without the commas and wrapping to the next line. I can either use the BufferedReader or Scanner to input the file and as you can see below, my code is not complete yet. I can't figure out how to code the storeAddress() method in order to get the addressBookEntries[] to include the necessary information for outputting, sorting, etc. If I can get the information read into the addressBookEntries[], I think I will probably be able to proceed in the rest of the required tasks (i.e. sorting by last name, searching by last name, etc.)
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.SimpleDateFormat;
    import java.io.*;
    import java.lang.*;
    *  @created September 14, 2004
    *  This program uses a JFrame to manipulate data and form an
    *  address book.  The user will be able to load data from a file,
    *  sort it by last name, print the address, phone number, and date
    *  of birth, print the names of people whos birthday are between 2
    *  dates, print the names of people between 2 last names, and/or
    *  print the names of different person types.
    public class AddressBook extends JPanel implements ActionListener{
        JFrame frame;
        final int numButtons = 7;
        JRadioButton[] radioButtons = new JRadioButton[numButtons];
        JButton process = new JButton("Process Request");
        JLabel title;
        JTextArea output = new JTextArea(30,50);
        int MAX_ADDRESS_ENTRIES = 500;
        AddressBookEntry addressBookEntries[] =
            new AddressBookEntry[MAX_ADDRESS_ENTRIES];
        String FILE_NAME="AddressBook.txt";
        public AddressBook(JFrame frame){
            super(new BorderLayout());
            this.frame=frame;
            JPanel choicePanel = createSimpleDialogBox();
            choicePanel.setBorder(BorderFactory.createTitledBorder("Choices" +
            " to choose from:"));
            title = new JLabel("<html><h2> Thank you for opening the " +
            "Address Book.  " +
            "Please Press the \"Process Request\" " +
            "after making a choice.</h2></html>\n",JLabel.CENTER);
            title.setBorder(BorderFactory.createEmptyBorder(20,20,20,20));
            output.setEditable(false);
            add(title, BorderLayout.NORTH);
            add(choicePanel, BorderLayout.CENTER);
            add(output, BorderLayout.SOUTH);
            final ButtonGroup group = new ButtonGroup();
            final String saveCommand = "Save";
            final String sortByLN = "Sort by Last Name";
            final String searchLNCommand = "Search By Last Name";
            final String printAPD = "Print address, phone number, and DOB";
            final String printNamesDOB = "Print names of people whose birthday" +
            " falls between 2 dates";
            final String printNamesLN = "Print names of people who fall" +
            " between 2 last names";
            final String printPType = "Print all family members, friends, or" +
            " business associates";
        private JPanel createSimpleDialogBox(){
            radioButtons[0] = new JRadioButton(
              "<html>Save the address file</html>");
            radioButtons[0].setActionCommand(saveCommand);
            radioButtons[1] = new JRadioButton(
              "<html>Sort the address file by last name</html>");
            radioButtons[1].setActionCommand(sortByLN);
            radioButtons[2] = new JRadioButton(
              "<html>Search the address file by last name</html>");
            radioButtons[2].setActionCommand(searchLNCommand);
            radioButtons[3] = new JRadioButton(
              "<html>Print the address, phone number, and DOB of a specified" +
              " person</html>");
            radioButtons[3].setActionCommand(printAPD);
            radioButtons[4] = new JRadioButton(
              "<html>Print the names of people whose birthday falls between" +
              " two dates</html>");
            radioButtons[4].setActionCommand(printNamesDOB);
            radioButtons[5] = new JRadioButton(
              "<html>Print the names of people who fall between two" +
              " specified last names</html>");
            radioButtons[5].setActionCommand(printNamesLN);
            radioButtons[6] = new JRadioButton(
              "<html>Print all family members, friends, <u>OR</u>" +
              " business associates</html>");
            radioButtons[6].setActionCommand(printPType);
            for (int i=0; i<numButtons; i++){
                group.add(radioButtons);
    //set the first button (open file) to be selected
    radioButtons[0].setSelected(true);
    return createPane(radioButtons, process);
    private JPanel createPane(JRadioButton[] radioButtons,
    JButton showButton) {
    int numChoices = radioButtons.length;
    JPanel box = new JPanel();
    box.setLayout(new BoxLayout(box, BoxLayout.PAGE_AXIS));
    for (int i = 0; i < numChoices; i++) {
    box.add(radioButtons[i]);
    JPanel pane = new JPanel(new BorderLayout());
    pane.add(box, BorderLayout.NORTH);
    pane.add(showButton, BorderLayout.SOUTH);
    return pane;
    public void actionPerformed(ActionEvent e) {
    String command = group.getSelection().getActionCommand();
    //else if button pushed is save
    if (command == saveCommand){
    // save file
    //else if button pushed is search by last name
    else if (command == sortByLN){
    // search by last name
    //else if button pushed is sort by last name
    else if (command == searchLNCommand){
    // sort by last name
    // print to screen
    //else if button pushed is display address, ph#, dob
    else if (command == printAPD){
    // display "search by last name" dialog
    // search last names
    // if last name found
    // print data
    // else
    // print error notification "person not found"
    //else if button pushed is list names of people whose
    //bday between 2 days
    else if (command == printNamesDOB){
    // ask for which dates
    // search bday
    // print to screen
    //else if button pushed is print names of people between 2 last names
    else if (command == printNamesDOB){
    // ask for which two last names
    // search last names
    // if people found
    // print to screen
    //else
    //print error notification "no one found"
    //else if button pushed is print all family members, friends
    //or business associates
    else if (command == printPType){
    //ask for what person type
    //search person types
    //if people found
    //print to screen
    //else print "no one found"
    public void storeAddress(File addressFile){
         Scanner sc=null;
    String lname,fname,street,city,state,zip,phone,persontype,bday;
    try {
    // Delimiters specifiy where to parse tokens in a scanner
    sc = new Scanner(addressFile).useDelimiter("\\s*[\\p{,}*\\s+]\\s*");
    catch (FileNotFoundException fnfe) {
         JOptionPane.showMessageDialog(this,"Could not open the file");
    System.exit(-1);
    for(int i=0; i<MAX_ADDRESS_ENTRIES; i++){
         while (sc.hasNext()) {
    lname=(sc.next());
         if (!lname.equals("")){
         addressBookEntries[i].setLName()=lname;
    public class AddressBookEntry{
    private extPerson address;
    private String date;
    private extPerson ExtPerson;
    public class Person{
    protected String lastName, firstName;
    private String address;
    private String city;
    private String state;
    private String zipcode;
    private String homephone;
    private String extPersonType;
    private Date bday;
    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-mm-DD");
    public String toString() {
    return lastName+" "+firstName;
    public void setLName(String last) {
    lastName=last;
    public void setFName(String first){
    firstName=first;
    public String getLastName() {
    return lastName;
    public String getFirstName() {
    return lastName;
    public Person() {
    lastName="";
    firstName="";
    public Person(String first, String last){
    setLName(last);
    setFName(first);
    //Set the address and return it
    public void setAddress( String addr ){
    address = addr;
    public String getAddress(){
    return address;
    //set the city and return it
    public void setCity( String town ){
    city = town;
    public String getCity(){
    return city;
    //set the state and return it
    public void setState( String st )
    state = st;
    public String getState()
    return state;
    //Set the zip code and return it
    public void setZipCode( String zip ){
    zipcode = zip;
    public String getZipCode(){
    return zipcode;
    //Set the home phone and return it
    public void setHomePhone( String homeph ){
    homephone = homeph;
    public String getHomePhone(){
    return homephone;
    //Set the bday and return it
    public Date getBday(){
    return bday;
    public void setBday(Date newBday) {
    bday = newBday;
    dateFormat.format(bday);
    //Set the extPerson type and return it
    public String getPType(){
    return extPersonType;
    public void setPBusiness(){
    extPersonType = "Business Associate";
    public void setPFamily(){
    extPersonType = "Family Member";
    public void setPFriend(){
    extPersonType = "Friend";
    public class extPerson extends Person{
    //new clss People
    public class People {
         int MAX_PEOPLE=500;
         BufferedReader bf;
    public String toString() {
              StringBuffer sb=new StringBuffer();
              for (int i=0; i<nPeople; i++)
              sb=sb.append(group[i]+"\n");
              return sb.toString();
    public void read(){
              String str;
              try {
              bf=new BufferedReader(new FileReader(new File(FILE_NAME)));
              str=bf.readLine();
              while (str!=null) {
              insert(str);
                   str=bf.readLine();
         catch (IOException e) {
              // Will jump to here on an eof condition.
         try {
              bf.close();
         catch (IOException e) {}
         public void save() {
              try {
              PrintWriter pw=new PrintWriter(FILE_NAME);
              for (int i=0; i<nPeople; i++)
              pw.println(group[i]+",");
              pw.close();
         catch (FileNotFoundException fne) {
                   System.out.println("Could not Save "+FILE_NAME);
    public People() {
              group=new extPerson[MAX_PEOPLE];
              nPeople=0;
         public boolean insert(String data) {
              if (nPeople<MAX_PEOPLE) {
              //extPerson guy=new extPerson(data);
              //group[nPeople]=guy;
              nPeople++;
              return true;
         else {
         JOptionPane.showMessageDialog(null,"Error in People" +
    "::insert: Max size reached.");
         return false;
         public void clear() {
              // This loop frees up the memory used by each extPerson
              for (int i=0; i<nPeople; i++)
              group[i]=null;
              nPeople=0;
    extPerson group[];
    int nPeople;
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    public static void createAndShowGUI(){
    JFrame.setDefaultLookAndFeelDecorated(true);
    JDialog.setDefaultLookAndFeelDecorated(true);
    JFrame frame = new JFrame("Address Book Program");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container c = frame.getContentPane();
    c.add(new AddressBook(frame));
    frame.pack();
    frame.setVisible(true);
    public static void main (String s[]){       
    //Schedule a job for the event-dispatching thread:
    //creating and showign this application's GUI
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();

    Ok, I have changed my code to reflect your suggested changes, but I'm still unsure how to use the findInLine you suggested.... This is all very new to me and I've been looking on the java website for suggestions, but I'm still stumped on how to pull this together. I'm unsure on how to set the lastname,firstname,etc. for retrieval...
    Here's my code:
    //ADDRESS BOOK
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.SimpleDateFormat;
    import java.io.*;
    import java.lang.*;
    *  @created September 14, 2004
    *  This program uses a JFrame to manipulate data and form an
    *  address book.  The user will be able to load data from a file,
    *  sort it by last name, print the address, phone number, and date
    *  of birth, print the names of people whos birthday are between 2
    *  dates, print the names of people between 2 last names, and/or
    *  print the names of different person types.
    public class AddressBook extends JPanel implements ActionListener{
        JFrame frame;
        final int numButtons = 7;
        JRadioButton[] radioButtons = new JRadioButton[numButtons];
        JButton process = new JButton("Process Request");
        JLabel title;
        JTextArea output = new JTextArea(30,50);
        int MAX_ADDRESS_ENTRIES = 500;
        AddressBookEntry addressBookEntries[] = new
        AddressBookEntry[MAX_ADDRESS_ENTRIES];
        public AddressBook(JFrame frame){
            super(new BorderLayout());
            this.frame=frame;
            JPanel choicePanel = createSimpleDialogBox();
            choicePanel.setBorder(BorderFactory.createTitledBorder("Choices" +
            " to choose from:"));
            title = new JLabel("<html><h2> Thank you for opening the " +
            "Address Book.  " +
            "Please Press the \"Process Request\" " +
            "after making a choice.</h2></html>\n",JLabel.CENTER);
            title.setBorder(BorderFactory.createEmptyBorder(20,20,20,20));
            output.setEditable(false);
            add(title, BorderLayout.NORTH);
            add(choicePanel, BorderLayout.CENTER);
            add(output, BorderLayout.SOUTH);
            final ButtonGroup group = new ButtonGroup();
            final String saveCommand = "Save";
            final String sortByLN = "Sort by Last Name";
            final String searchLNCommand = "Search By Last Name";
            final String printAPD = "Print address, phone number, and DOB";
            final String printNamesDOB = "Print names of people whose birthday" +
            " falls between 2 dates";
            final String printNamesLN = "Print names of people who fall" +
            " between 2 last names";
            final String printPType = "Print all family members, friends, or" +
            " business associates";
        private JPanel createSimpleDialogBox(){
            radioButtons[0] = new JRadioButton(
              "<html>Save the address file</html>");
            radioButtons[0].setActionCommand(saveCommand);
            radioButtons[1] = new JRadioButton(
              "<html>Sort the address file by last name</html>");
            radioButtons[1].setActionCommand(sortByLN);
            radioButtons[2] = new JRadioButton(
              "<html>Search the address file by last name</html>");
            radioButtons[2].setActionCommand(searchLNCommand);
            radioButtons[3] = new JRadioButton(
              "<html>Print the address, phone number, and DOB of a specified" +
              " person</html>");
            radioButtons[3].setActionCommand(printAPD);
            radioButtons[4] = new JRadioButton(
              "<html>Print the names of people whose birthday falls between" +
              " two dates</html>");
            radioButtons[4].setActionCommand(printNamesDOB);
            radioButtons[5] = new JRadioButton(
              "<html>Print the names of people who fall between two" +
              " specified last names</html>");
            radioButtons[5].setActionCommand(printNamesLN);
            radioButtons[6] = new JRadioButton(
              "<html>Print all family members, friends, <u>OR</u>" +
              " business associates</html>");
            radioButtons[6].setActionCommand(printPType);
            for (int i=0; i<numButtons; i++){
                group.add(radioButtons);
    //set the first button (open file) to be selected
    radioButtons[0].setSelected(true);
    return createPane(radioButtons, process);
    private JPanel createPane(JRadioButton[] radioButtons,
    JButton showButton) {
    int numChoices = radioButtons.length;
    JPanel box = new JPanel();
    box.setLayout(new BoxLayout(box, BoxLayout.PAGE_AXIS));
    for (int i = 0; i < numChoices; i++) {
    box.add(radioButtons[i]);
    JPanel pane = new JPanel(new BorderLayout());
    pane.add(box, BorderLayout.NORTH);
    pane.add(showButton, BorderLayout.SOUTH);
    return pane;
    public void actionPerformed(ActionEvent e) {
    String command = group.getSelection().getActionCommand();
    //else if button pushed is save
    if (command == saveCommand){
    // save file
    //else if button pushed is search by last name
    else if (command == sortByLN){
    // search by last name
    //else if button pushed is sort by last name
    else if (command == searchLNCommand){
    // sort by last name
    // print to screen
    //else if button pushed is display address, ph#, dob
    else if (command == printAPD){
    // display "search by last name" dialog
    // search last names
    // if last name found
    // print data
    // else
    // print error notification "person not found"
    //else if button pushed is list names of people whose
    //bday between 2 days
    else if (command == printNamesDOB){
    // ask for which dates
    // search bday
    // print to screen
    //else if button pushed is print names of people between 2 last names
    else if (command == printNamesDOB){
    // ask for which two last names
    // search last names
    // if people found
    // print to screen
    //else
    //print error notification "no one found"
    //else if button pushed is print all family members, friends
    //or business associates
    else if (command == printPType){
    //ask for what person type
    //search person types
    //if people found
    //print to screen
    //else print "no one found"
    public class AddressBookEntry{
    private extPerson address;
    private String date;
    private extPerson ExtPerson;
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    public static void createAndShowGUI(){
    JFrame.setDefaultLookAndFeelDecorated(true);
    JDialog.setDefaultLookAndFeelDecorated(true);
    JFrame frame = new JFrame("Address Book Program");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container c = frame.getContentPane();
    c.add(new AddressBook(frame));
    frame.pack();
    frame.setVisible(true);
    public static void main (String s[]){       
    //Schedule a job for the event-dispatching thread:
    //creating and showign this application's GUI
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    //PERSON
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.SimpleDateFormat;
    import java.io.*;
    import java.lang.*;
    public class Person{
    protected String lastName, firstName;
    private String address;
    private String city;
    private String state;
    private String zipcode;
    private String homephone;
    private String extPersonType;
    private String bday;
    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-mm-DD");
    public void parseString(String s) {
              try {
              lastName = s.substring(0,s.indexOf(","));
              firstName = s.substring(s.indexOf(",")+1);
    address = s.substring(s.indexOf(",")+2);
    city = s.substring(s.indexOf(",")+3);
    state = s.substring(s.indexOf(",")+4);
    zipcode = s.substring(s.indexOf(",")+5);
    homephone = s.substring(s.indexOf(",")+6);
    extPersonType = s.substring(s.indexOf(",")+7);
    bday = s.substring(s.indexOf(",")+8);
    catch(StringIndexOutOfBoundsException sbe) {
              JOptionPane.showMessageDialog(null,"Error " +
    "in Person: Could not parse the line "+s);
    public String toString() {
    return lastName+","+firstName+","+address+","+city+","+
    state+","+zipcode+","+homephone+","+bday+","+extPersonType;
    public void setLName(String last) {
    lastName=last;
    public void setFName(String first){
    firstName=first;
    public String getLastName() {
    return lastName;
    public String getFirstName() {
    return lastName;
    public Person() {
    lastName="";
    firstName="";
    public Person(String first, String last){
    setLName(last);
    setFName(first);
    //Set the address and return it
    public void setAddress( String addr ){
    address = addr;
    public String getAddress(){
    return address;
    //set the city and return it
    public void setCity( String town ){
    city = town;
    public String getCity(){
    return city;
    //set the state and return it
    public void setState( String st )
    state = st;
    public String getState()
    return state;
    //Set the zip code and return it
    public void setZipCode( String zip ){
    zipcode = zip;
    public String getZipCode(){
    return zipcode;
    //Set the home phone and return it
    public void setHomePhone( String homeph ){
    homephone = homeph;
    public String getHomePhone(){
    return homephone;
    //Set the bday and return it
    public String getBday(){
    return bday;
    public void setBday(String newBday) {
    bday = newBday;
    dateFormat.format(bday);
    //Set the extPerson type and return it
    public String getPType(){
    return extPersonType;
    public void setPBusiness(){
    extPersonType = "Business Associate";
    public void setPFamily(){
    extPersonType = "Family Member";
    public void setPFriend(){
    extPersonType = "Friend";
    public Person(String data) {
    parseString(data);
    //EXTPERSON
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.SimpleDateFormat;
    import java.io.*;
    import java.lang.*;
    //new clss extPerson
    public class extPerson extends Person {       
         int MAX_PEOPLE=500;
         BufferedReader bf;
    String lname,fname,street,city,state,zip,phone,persontype,bday;
    String FILE_NAME="AddressBook.txt";
    public String toString() {
              StringBuffer sb=new StringBuffer();
              for (int i=0; i<nPeople; i++)
              sb=sb.append(group1[i]+"\n");
              return sb.toString();
         public void save() {
              try {
              PrintWriter pw=new PrintWriter(FILE_NAME);
              for (int i=0; i<nPeople; i++)
              pw.println(group1[i]+",");
              pw.close();
         catch (FileNotFoundException fne) {
                   System.out.println("Could not Save "+FILE_NAME);
    public extPerson() {
              group1=new extPerson[MAX_PEOPLE];
              nPeople=0;
         public boolean insert(String data) {
              if (nPeople<MAX_PEOPLE) {
              Person guy = new Person(data);
              group1[nPeople]=guy;
              nPeople++;
              return true;
         else {
         JOptionPane.showMessageDialog(null,"Error in People" +
    "::insert: Max size reached.");
         return false;
    Person group1[];
    int nPeople;

  • Can different family member accounts share an address book in iCloud?

    we have a primary mobileme account which is now set up in icloud.  we have a family pack with a secondary family member account set up for my wife's business email.  This secondary account now also has its own icloud account that we set up.  Works fine.  The question is this - when my wife is logged in to her icloud secondary account and looking at her work-related emails, how can she access the addresses in the address book that is linked to the main icloud account?  She is usually working from a PC so it's not a matter of just looking at the local copy of the address book.  She needs to log out of the secondary icloud account, log in to the primary, look up the address, and then go back to the secondary account to send the email from her work email address.  Too cumbersome.  And icloud does not seem to like having two instances of icloud running at the same time on the same computer.
    Any thoughts would be appreciated.
    Thanks -
    Joel

    You're welcome.
    Happy Holidays to you and your family.
    Please note the items listed under Legend in the right sidebar of this page.

  • How can I add an e-mail address to my address book from an e-mail?

    Someone sends me an e-mail and I do not have their e-mail in my Thunderbird address book. Is there a way to enter their information into my address book without having to retype it all into my address book. In other e-mail programs that I have used, all I needed to do was click on the message and then click on a drop-down menu item that would simply copy all of the contact information into a new address book entry. Is it possible to do that in Thunderbird?

    When viewing a message in a tab or the message pane there is a star to the right of the senders address. If the star is filled with color the address is already in one of your address books. If the star is not filled, click the star to add them. Click the star a second time to open the edit dialog box to add more details to the contact.
    This is not the same star that is to the left of the message header when viewing the inbox.

  • Is there a way of persuading iCloud to sync the smart groups I have in address book on my Mac

    I have a small number of smart groups in address book on my iMac. but these do not sync through iCloud to my Macbook or iPod touch.  Everythin else syncs even ordinary groups, but not the smart groups.  Is there a way of persuading iCloud to do it?  I can fully sync my Macbook contacts by exporting an archive from the iMac and then comying and importing this to the Macbook.  But this is old technology.

    longfellow39 wrote:
    .......Is there a way of persuading iCloud to do it? ........
    Unfortunately not.

  • Some of the entries in my address book show birthdays one day/year earlier in Ical. I cannot change this except by putting in the birthdays a day/year earlier than they are. Why is this happening only for some entiries and not others?

    Some of the birthdays I have entered in Address book appear in my Ical one day and one year earlier than the date I have given. Eg. I have entered a birthday in Address book as 23 March 2011 and it appears in Ical as being on 22 March 2010. Other names have no problems. There are only some that do not appear with the correct date and year. Why is this?  Has anyone found how to correct this strange problem?  I have Time Zones ticked.
    Bronze2011

    I'm having this exact same problem, but it's doing it with a bunch of birthdays. I also did 0001 when I didn't know the birth year, so I went back and did a more current year, but they still aren't showing up where they should be...or at all. It's completely bizarre.

  • List view in Address Book

    I have recently upgraded to Snow Leopard, but notice in Address Book that prefixes(Mr, Mrs etc) do not appear in the list view, but do on the card. In Leopard the prefixes appear in both views. Is this just a fault in the program, or can it be rectified?

    I'm going to bump this up - I, too have this problem/question. Any suggestions?

  • Numbers/Address Book and Google Maps

    I would love to integrate my spreadsheet of addresses or my Address Book with Google Maps.
    Is this possible? Somehow?
    I take a lot of trips across the country and don't always know when I will be driving by my friends. But if I had a map I could glance at to see where they all are, I would know that I could schedule a lunch with a friend halfway or something like that.
    I have heard about MapPoint, but don't know if there is anything like this that is free/affordable/non-MS.
    Thanks!

    Integrating in Numbers would not be automatic. You'd have to format links to assign to each address.
    I've seen plug-ins to use Google maps with Address Book. Try a search on MacUpdate or VersionTracker for Address Book.
    I think one of the features for Address Book in Leopard is integration with Google maps.

  • Synching iphone/contacts & macbook/address book no longer works

    I've had an iphone 3G and macbook pro for about 2 years and until now they've synched just fine. Today I cleaned up my address book on the mac (eliminated some duplicates, added, renamed, and deleted groups, updated individuals' information) and then synched my iphone with my mac using itunes. (I don't have a mobileme account.)
    A few of the changes I made to address book (e.g., new contacts) were updated in contacts on the iphone, but most were not. It didn't update changes to existing contacts and the groups were not changed. Updates to ical and safari bookmarks were synched just fine.
    Here are the things I've tried without success:
    1. In itunes info tab, under address book I selected "all contacts," deselected all other updates (ical, etc.) except address book, and then synched.
    2. Same as above, PLUS in the advanced section, under "replace information on this phone" I selected contacts. then I synched.
    3. Same as #1 above, except instead of "all contacts" I selected "selected groups" and checked all the groups listed, and then synched.
    4. I rebooted the macbook and repeated the steps above.
    5. I opened isync and selected "reset sync history." then I repeated steps 1 and 2 above.
    I also tested making a change to a contact on the iphone to see if the change was made on the mac. It was not.
    About 2 months ago I upgraded to snow leopard. It's possible this problem has been going on since then, and I just didn't notice until today when I made all the changes to address book.
    I don't know what to try next. Please help.

    status update -- I tried a lot of other things but finally solved the problem after I removed all the groups from mac address book. (thank-you to my son Ben)
    FYI -- along the way I tried doing the reset sync history, which deleted all contacts from the iphone. I initially thought that was a good thing, until I discovered that nothing I tried after that would put the contacts back on the iphone. Next I restored factory settings on the iphone and set up as a new user, but that didn't work either. Or maybe it did; maybe deleting the groups wouldn't have solved the problem if I hadn't deleted all contacts and reset the iphone first.

  • My address book and iPhone pics have become low resolution.  Is there a way I can prevent this from happening when I start out with a higher resolution picture?

    I guess I squeezed my entire issue into the subject line.  lol   When I sync my iphone to my laptop I notice that all my address book pics and iphone pics have become lower resolution, even though I started out with the resolution that I really needed to produce decenty address book printouts.  I doubt I can correct the losses of resolution that have occurred but can anyone help me figure out how to prevent future losses?  Thank you!

    Plugins usually are installed externally to Firefox. However, you can disable them in Firefox so that Firefox does not use them.
    SearchReset is supposed to automate the task of resetting certain preferences, but you still can edit them manually if necessary.
    '''''Address Bar Search'''''
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''keyword''' and pause while the list is filtered
    (3) Right-click '''keyword.URL''' and choose Reset. This should restore Google as the default for address bar search.
    Does that work?
    '''''Search Box'''''
    Usually it works to choose your preferred search engine from the drop-down. To remove an unwanted search engine plugin, usually the Manage Search Engines... choice at the bottom of the drop-down takes care of it.
    Do either of those work?
    There might be another way to hijack that search box; I think some of the other frequent responders probably are more familiar with it than I am.

  • Address Book - multiple access

    Hello
    I run a small office network of 5 macs and a server all running OSX 10.4, and we really need to all access the same Address Book. So far the only way this seems possible is by syncing the address books between different users, which doesn't really work properly, or by running an LDAP directory on the server, which I have no idea how to set up.
    This must be a very common problem for small offices who need to share contact information. I used to use a simple programme called QuickDex which everyone could access on the server, which has now been update for OSX, but would rather use Address Book as its easily accessed from Mail.
    Does anyone have any suggestions? Any help much appreciated
    Thanks
    Buddy

    Go to www.xcnetwork.com
    you'll find a very userul service for sharing contacts or iCal events.
    We are using it in our small office and it works great

  • Lack of Address Book Sync

    I just got off the phone with Apple Care support. They said "the iPod has always been a one way street" and it only adds contacts from your computer to the iPod Touch not from the iPod Touch to the Address Book.
    I was dumb founded by such a stupid statement. I mean I can enter a "calendar item" and it syncs with iCal why nit also address book?
    Makes no sense to me at all. Has anyone been able to sync contacts from iPod Touch to Address Book?

    Unfortunately you must have been talking to someone on day one at AppleCare. The +iPod touch+ certainly does sync two ways. In fact nowadays I only update contacts on my +iPod touch+ and sync them back to my Macs. 
    Have you actually tried a sync?
    cheers
    mrtotes

Maybe you are looking for

  • SQL error in the database when accessing a table.

    Hi, I got below error at production server. Please suggest how to reslove this error. <br> <br> <br> Runtime Errors         DBIF_RSQL_SQL_ERROR <br> Exception              CX_SY_OPEN_SQL_DB <br> Date and Time          02.01.2011 15:55:06 <br> <br> <b

  • How do i know if my samsung tv is compatible with my macbook pro?

    I have an LCD samsung TV, the model is LE40R86BDX when i connect my macbook pro by mini displayport HDMI adapter on my samsung tv i can't see the monitor of my macbook pro, and tell me : no signal! help me!!!!

  • Sony avchd camcorder

    How can i import my avchd file from my sony avchd camcorder hdrsr7. Final cut express 4 does not recognize those files.

  • Switch mode from edit to view

    I am using JSR-168 portlet and JSF, I would like to have a button in the Edit mode , whenever user click it will switch to the view mode.... How to do this? Thanks for the help!

  • Updating Item Master Organization

    Dear All, We have two Business Group in US and in Canada. We have defined two Item Master Organization; one for US and the other for Canada. Now we want to convert it into single Item Master Organization. What are the implications? Is it advisable? I