Address book capacity

How many enties can I make, it there a limit for contacts?
macbook   Mac OS X (10.4)  

There is probably a recommended limit but I'm not aware of what if any the limit might be.
How many entries are you talking about?

Similar Messages

  • Address book capacity or amount of memory per entry

    I am working on a project that would add a shared database of contacts to a variety of handhelds. 
    After searching this forum and others I can see that the address book capacity seems dependent on the onboard memory. 
    Can any tell me or direct me to an estimate of the amount of handheld memory required per contact?
    Ideally, I would like to get the memory per contact and the memory per contact w/attached photo. 
    right now the database is Name, home address, DOB, notes, and User1-3.   Adding a photo is kind of pie in the sky considering that I don't have the photo files yet, but it seems a natural evolution of my project so...
    Post relates to: Palm TX

    I'd suggest you ask this question over at the Access Developer Network forum.  We're mostly End-user centric here! 
    ACCESS Developer Network
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Mac Mail & Address Book - Capacity & Storage

    Hi all - I have a question regarding the maximum capacities for MacMail & Address Book.
    MacMail
    Is there a maximum number of messages that can be housed in any given folder? I know it's a good idea to move messages from say, the Inbox, to a sub folder to keep the application running at peak. But what about Sent or Trash? Should messages in these mailboxes be cleared to sub folders on occasion? Also, before anyone says anything about deleting messages, this is not an option ; )
    As a rule, we've been moving messages from Trash to sub folders on an iMac running 10.4. Our Macbook pro however does not allow for messages to be moved into sub folders from Trash. Why would this be?
    At the moment on the iMac the number of messages in a sub folder called Storage (moved from Trash) is 25K. I wonder if this will max out eventually and wipe messages, as happened about 6 months ago in the Trash folder? Is there industrial strength email software that works great on a Mac?
    *Address Book*
    Similar to the MacMail question. Is there a maximum number of contacts that one can have using Address Book? Does anyone have a recommendation on an industrial strength solution for contact management that plays nicely with Mac?

    Gee it's very quiet around here..

  • POP3 Mail & Address Book contacts have gone!

    I recently did some housekeeping on my Mum's iBook G4 (OSX 10.4.10), part of which was purchasing and installing SpamSieve into Mail. This all went fine. Today she said all the mail in her POP3 inbox had gone, she couldn't send/receive and all her address book contacts had gone (Except hers and Apples).
    I've got the iBook now and have noticed that her account type in Mail has somehow changed to a .Mac account (did I somehow do this, or did she???). This is obviously the root of the problem as the
    email address now has '@mac.com' appended to the end and the incoming mail server is now 'mail.mac.com' and the outgoing is 'smtp.mac.com:heremailaddress' which is all wrong. I'm unable to change the account type back to POP or the incoming mail server from 'mail.mac.com' (it's greyed out) back to what it was.
    I have now created a second account with the correct POP settings and have received in all unread email, but the read email messages have gone. I am unable to send as the new correct pop account is only offered the incorrect outgoing server ('smtp.mac.com:heremailaddress').
    Having read several post on this forum, I feel the Mail/Address Book issues are connected and that maybe the application(s) database(s) have been corrupted. I've tried the Address Book remedy at http://discussions.apple.com/thread.jspa?messageID=5248351&#5248351 but this does nothing. The 'user'>Library>Mail folder shows the two accounts as two separate folders. The recently recreated account folder has the new unread messages in the 'INBOX.mbox folder, but the older account folder (which now has 'MAC-' added to the front of its name) only has 'info.plist' in a 'INBOX.imapmbox' folder!
    I don't believe any back-ups are available. Can anyone help me restore her old unread mail, and possibly her address book contacts?
    I've also just noticed that SpamSieve does not launch as it should when I launch Mail, even though It was purchased and the scripts installed correctly.

    Didn’t you make a backup prior to the housekeeping?
    I don’t know why would Spotlight find contacts that are gone from Address Book (if that’s what you mean), but as far as Mail goes, under some circumstances (e.g. lack of available disk space, filesystem corruption, repeated crashes), Mail may discard the current ~/Library/Preferences/com.apple.mail.plist preferences file and create a new one. This file is where all the account settings are stored. As a result, all the non-.Mac account settings (but not the messages themselves) are lost. If you had a .Mac account, its settings would appear to have been preserved because Mail would set up that account automatically using the System Preferences > .Mac settings.
    What’s the capacity and space available on the startup disk? Take a look at the comments about disk space in the following article, in case they apply to you:
    Problems from insufficient RAM and free hard disk space
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what’s it all about?
    After having fixed all the filesystem issues, if any, and ensuring that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), quit Mail if it’s running, and make a backup copy of the ~/Library/Mail folder, e.g. by dragging it to the Desktop while holding the Option (Alt) key down, just in case something else goes wrong while trying to solve the problem. This is where all your mail is stored.
    You have three options now:
    (1) Restore ~/Library/Preferences/com.apple.mail.plist from a backup if you have one. Mail shouldn’t be running while you do this.
    (2) Set up your mail accounts again (you may want to quit Mail and trash the new com.apple.mail.plist first to start over). If given the option to import existing mailboxes or something like that, don’t. Just enter the account information and Mail will automagically rediscover the data in ~/Library/Mail/ when done. You’ll also have to re-configure most of your settings in Mail > Preferences. For spam-related security reasons, the first thing you should do is go to Preferences > Viewing and disable Display remote images in HTML messages if it’s enabled.
    (3) Mail may have renamed the old preferences file to com.apple.mail.plist.saved. If that’s the case, you may try trashing the new com.apple.mail.plist and renaming the old com.apple.mail.plist.saved back to com.apple.mail.plist. Again, be sure Mail isn’t running while doing this. Given the circumstances, there exists the possibility that com.apple.mail.plist.saved became corrupt, but that often is not the case and the settings can usually be restored by just renaming the file back to com.apple.mail.plist.
    As a side effect of re-creating com.apple.mail.plist, Mail might rename Outbox (which is where messages waiting to be sent are stored) to Delivered. The name of that mailbox is actually a misnomer, as it would contain messages (if any) that couldn’t be delivered for some reason. You can delete that mailbox if you wish.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • Address Book (on Mac) and Contacts (on iPod don't bhave the same way...

    Hi all.
    In Address Book (AB), I've flagged some contacts as "Company"; these are business contacts and AB displays them based on the company name which is OK. It doesn't display the person's name in the list, which is OK. If I do a search on the person's name, though, AB finds and displays the appropriate contact. This AB is synced with my iPod touch (IPT).
    HOWEVER, when I do a search on the person's name in Contacts on the IPT, it doesn't find it!
    As far as you know, is this a limitation of Contacts or am I doing something wrong?
    Thanks!

    See: How to Transfer Music Between the Computer and iPod
    The iPod offers three ways to transfer music from your computer. You can select one of the following update modes from the iPod Preferences menu in iTunes (Edit=>Preferences=>'iPod' tab):
    1) Automatically update all songs and playlists. This is the default mode, in which your entire music library, including playlists, is automatically synced to your iPod. If the music library on your computer exceeds the iPod storage capacity, you are prompted to select a different update method.
    2) Automatically update selected playlists only. With this option, iTunes automatically copies the playlists you have selected to the iPod when you connect it to the computer.
    3) Manually manage songs and playlists. You can also choose to transfer music to the iPod manually. This allows you to drag and drop individual songs and playlists from iTunes to the iPod.
    Manage the iPod either Fully-Auto, Manually or via Selected Playlists.
    These may also help:
    How to Create a Smart Playlist
    Deleting Songs or Playlists from your iPod

  • Rouge Address book! (a virus?)

    Hello,
    My MB has recently been having a problem where, out of nowhere, the address book will open and then put the processor in a full sprint. I'll be typing a document with 2:45min left and then as soon as it kicks on the fan goes crazy and my time remaining goes straight to 0:43 min even with the screen all the way down next to black out. It will then continue until the battery is spent which is usually not more than 20min later.
    The address book program then will not quit, and if I try to force quit it, it immediately reopens. I can nut shut down because it will prevent finder from shutting down and then has to be manually turned off. Also I've noticed that when this happens my airport antenna just shows an exclamation mark and says it cannot connect.
    Could this be a virus? I don't even know what to do if one of my macs gets a virus. Does apple have some way you can contact them about it or am I on my own?
    Has anyone heard of this? It did not start until about two weeks after installing OSX 10.6 so I'm not sure it is the OS.
    Thank you in advance.
    Frank

    Hi,
    There are no Mac viruses in the wild so you can rule that out.
    After reading your other post here http://discussions.apple.com/thread.jspa?messageID=10222509#10222509
    I think you might have an Address Book item that you have retored from TM that might be corrupted and causing AB to crash.
    Try deleting the Address Book preference file.
    com.apple.addressbook.plist
    /Users/YourName/Library/Preferences.
    Drag that file to the Trash, empty the Trash and restart your Mac.
    Launch AB and see if the problem persists. If it does and you cannot force quit the app the usual way, launch the Activity Monitor (Applications/Utilities) Click the pop up menu on the right and select My Processes. Select Address Book in the list, then click the Red Button to Force Quit the application.
    Check your start up disk for available space.
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you always have a minimum of 10% to 15% free disk space at all times.
    If necessary, go here for help to free up space.
    http://www.thexlab.com/faqs/freeingspace.html
    *"I've noticed that when this happens my airport antenna just shows an exclamation mark and says it cannot connect. "*
    If you have a router or use an Apple Airport Extreme BS or an Apple Express, try resetting the hardware.
    Carolyn
    Message was edited by: Carolyn Samit

  • Address book - missing filtr (automatic filling address)

    Hi,
    I have been using mobile phone Q10 with sync Exchange server 2013. My address book (phone book) consists of (by sync) all of contacts in my mailbox. It means even plus automatic filling email address from Outlook, that are unwanted items in my phone book. What's a very annoying in operation. It has bad impact on performance for seeking anyone, several times during day the application (phone book) does not respond, next I am not able to seeking anyone.
    How Do I fix it?
    Is there any option how to limited range of contacts for sync? iPhone has figured out this problem by filter. You can choose which category of contact you want to sync. Whats a very simple and useful. It has positive impact for use in car, where you dont waste with the capacity of internal storage. Your phone book does not consist of any unwanted items. I would really appreciate if the next version of OS 10 covered improvements.
    Many thanks
    Tomas

    My BB is Curve 8310 Version 4.5.0.182 (platform 2.7.0.106

  • Address Book: [CardDAVPlugin-ERROR]

    Hi all,
    I noticed that I could hear my computer churning away even though nothing was happening on the machine.  I opened the Console to find the following errors being written at a fairly high rate of speed....
    3/28/12 11:52:30.034 AM Address Book: [CardDAVPlugin-ERROR] -_saveChanges: [syncAddressBook(<ABAddressBook: 0x7fcfb4128680>)saveAndTriggerSync:NO updateModificationDate:nil] FAILED
    3/28/12 11:52:39.156 AM Address Book: -[ABAddressBook save] failed. (<ABAddressBook: 0x7fcfb4128680>)
    3/28/12 11:52:39.157 AM Address Book: [CardDAVPlugin-ERROR] -_saveChanges: [syncAddressBook(<ABAddressBook: 0x7fcfb4128680>)saveAndTriggerSync:NO updateModificationDate:nil] FAILED
    3/28/12 11:52:46.000 AM kernel: IOSurface: buffer allocation size is zero
    This is repeated in an endless loop as the console window fills to capacity and overflows..
    Also, in the Activity Monitor, the address book is continually using 97% to 99% of the processor.
    I made a new entry in the contact book named "TEST".  After a few minutes, TEST appeared twice in my local computer, and is now filling up my iPad with new TEST contacts.  36 times so far, but continuing to add as I write this.
    Anyway, Any thoughts as to how I can fix this?
    Thanks,
    Matt

    ADDENDUM...
    I just realized that the local address book no longer allows me to edit or delete any of the cards. This is probably because Address book is so busy doing its background tasks.  But I thought it was interesting.
    Oh, and now my iPad has 50 occurances of the test contact.

  • IPad Address Book (Contacts.app) crash on launch

    my iPad address book (Contacts.app) crashes on launch
    this problem also affects me when trying to send emails: the email app works fine for reading emails, but as soon as I write a new email and go to the "To" or "cc" or "bcc" boxes to input a recipient address, mail crashes, presumably because the Address book is being accessed at this stage.
    I can see that the above can be an Address book (Contacts.app) problem.
    Am running pre iOS 4.2 version of the iOS (likely the most up to date pre recent update), i.e. I don't have folders or multi-tasking yet.

    OK FIRST , DID U SET UP THE EMAIL CAL AND CONTACTS CORRECTLY? AS FOR IT CRASHING IT SHOULDNT EVEN IF IT IS BLANK! NOW FOR THE PART ABOUT EMAIL NOT WORKING......I RECOMMEND U JUST RESTORE IT AND "YES" begin as a new device!!!! I HAD SAME PROBLEM EXCEPT MINE WAS : backup successful, restore successful, update to 4.2 successful, sync of backup back to iPad successful, ha ha then when I turn iPad on BLANK!!!!! OH THE CAPACITY BAR AT THE BOTTOM OF THE COMPUTER SCREEN IN ITUNES WAS 10.7 gb of music 9.2 of movies, and 5.7 gb of games..... WELL IPAD WAS EMPTY!
    Sync 3 times same result..... RESTORED IT AND SYNCED BACKUP DATA AGAIN, still nothing! SO I RESTORED AND STARTED NEW! PERFECT?!
    So I had to select the apps and other media that I wanted to put back on it! AND YES I LOST ALL THE PHOTOS (maybe I haven't found it on pc, so for now I assume lost) but PRIOR TO UPDATE I EMAILED ALL MY NOTES TO MYSELF SO THEY WERE JUST A COPY AND PASTE BACK TO MY NOTES APP ON THE IPAD!
    Same with photos! Yeah tedious but I like to SEE INFO SAVED prior to any apple updates! So yeah there is something wrong with the sync portion of the update! So I suggest u just swallow loss and forget the data! AS FOR CONTACTS: just hop on computer and email a GROUP EMAIL OF CONTACTS TO IPAD THEN SET UP EMAIL ON IPAD AND THEN GO TO THAT EMAIL AND ADD THEM TO CONTACTS MANUALLY (or u can use your email server and sync via iTunes (see last tab on the iTunes menu for your device and there u can choose to sync calendars too)

  • My address book will not open. Can someone help me?

    My address book won't open. I can add new address's from a email but when I try to edit anything it will not open. I run an imac, with os x10.4.11.

    Ok... this software: Pacifist can extract applications from your system restore disk. You could try that.
    Or... go here for help with reinstalling Mac OS applications:
    http://support.apple.com/kb/HT1561?viewlocale=en_US
    Question for you. How much free drive space do you have? Check to see how much available drive space you have. Right or Control Click your MacintoshHD icon on your Desktop, then click: Get Info In the Get Info window, select the black arrow so it faces down. You will see Capacity and Available. Make sure your have a minimum of 10% free drive space, 15% is better. Not enough available drive space will cause apps to not open, freezes, and crashes.
    Carolyn
    Message was edited by: Carolyn Samit

  • Address Book and Mail Problem

    Hi,
    I am new to this forum and I hope that someone can help me. I have 178 addresses in my Address Book. I added a new person today, my new boss actually. I went into Mail to address an email to her and her email address will not come up. I have deleted and added her again to Address Book and still the same thing. Am I at maximum capacity on Address Book or something?
    Thanks
    iMac   Mac OS X (10.3.9)  

    Thank you. Update my system? Do you mean the OS or the Mail program? My bosses name is Rose. When I type in Rose, Mail doesn't link to the Address Book. Neither the last name or the email address appears.

  • Can't sync just one "Group" within  Address Book anymore!

    Is anyone else having a problem like this or is it specific to me:
    iSync no longer offers me the option of selecting a specific Group within my Address book, for syncing with my Moto RAZR V3 phone. The only option is to sync "All Contacts" -- but my Address Book exceeds the capacity of my phone's memory. As a result, my most recent sync attempt wiped out my entire phonebook on the RAZR and I am unable to restore it with iSync.
    What happened to the ability to select a specific Group for syncing? Is this a "bug" or a new "feature" of the post-MobileMe era?

    That ability is definitely still there - although I have seen iSync forget to show custom Groups before.
    First, make a backup of your Address Book and iCal data by using the relevant command on the File menu in each app.
    Then try backing up then deleting the SyncServices folder found in ~/Library/Application Support/
    Restart the Mac, and re-load iSync. If that doesn't help some of the links below may do:
    http://discussions.apple.com/thread.jspa?messageID=6112218
    http://discussions.apple.com/thread.jspa?messageID=6566113&#6566113
    http://discussions.apple.com/thread.jspa?messageID=6064923
    http://discussions.apple.com/thread.jspa?messageID=3360345&#3360345

  • 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.

Maybe you are looking for

  • OS won't load from ide hd during boot

    I recently purchased an k8n neo platinum mobo and got it all hooked up and ready to go. I intended on using the hd from my old system which already had set up windows xp pro with service pack 2 installed. I was then going to install another copy of x

  • Crystal Reports XI connection problems - after updating to SQL Server 2008

    Hello! We have some ASP.NET 2.0 Applications that call some CR XI report files with parameters to generate PDF Files. After upgrading from SQL Server 2005 to 2008 the apps hang when trying to generate the PDFs. Some research with Fiddler showed that

  • My gal's macbook is acting up?

    Hey there, this is my first time on this forum so please bear with me. My wife's macbook is only 2 months old and today she was unable to use the number zero on the keyboard. Also, it acted as if it were possessed and would type by itself. She has ne

  • Signing Applets in IE

    Hi , I am coding an Applet, to write to a file in the client Machine. I followed the steps given in this forum to create Signed Applet. This applet is working fine in the local machine were the Server is running(TOmcat).But if I call the jsp from ano

  • Quicktime application not responding after screen recording.

    After taping video gameplay of a heavily modded Fallout: New Vegas, pressing the stop button makes the application stop responding altogether. Causing me to force quit as it saves only a couple seconds.  It worked for awhile for about four recordings