Address Book in French?!

My address book is in French, which is a problem since...I don't know any french... I check the system pref>international settings: all on english, no french involved. None of my other programs are operating in a different language. I tried going to (what I think was) "Help"... & it said "Help" was not available (weird!). How can I get address book back to english? Please help!
Some background info that I think might be contributing to this problem:
To save space, I deleted Address Book a few months ago. I was putting all of my contact info in entourage & didn't think I would be using address book at all. Now that I have a Palm & want to sync, I need to use address book! (stupid me for deleting that app). I also would like to add birthdays to work with iCal that I started using as well.
I'm not sure how, but I have (what seems to be) some kind of remnant of the address book app that I deleted- it is the one that's in French. Maybe it was added to my computer when I updated my Tiger OS X? Is there any way to delete that & download a fresh version of Address Book? Anyways, it calls itself "Address Book," but it uses a different icon- one that uses a ruler, a pencil and a paintbrush to make the letter "A"... I don't know if that helps at all, but I thought I'd just throw it out there. Please help! Thank you!
15" Powerbook G4   Mac OS X (10.4.3)  

Hi,
Try deleting this file.
com.apple.systemiuserver.plist
/Users/YourName/Library/Preferences.
Drag that file from the Preferences folder to the Trash, empty the Trash and restart your Mac.
Carolyn

Similar Messages

  • Address Book opening in French

    Hello
    Address book is opening in French on my 12" ibook. How do I change it to English?
    I've just started using iSync for the first time, with an old sony K750i, could this be something to do with it?
    Thanks!
    Gary

    Create a new Finder window and click on the Applications item in the sidebar. From here, select the Address Book application. Choose Get Info from the File menu and uncheck everything except English under Languages. If English doesn't appear in the list, reinstall Address Book from the Tiger installation disk, using Pacifist if necessary, and then run the combo updater for your version of Mac OS X.
    (21634)

  • Carnet d'adresses (Address Book) in Snow Leopard (French) is in English

    Hi,
    I use Snow Leopard in French and for some reason Address Book is in English with the exceptions of the menus at the top which are in French. The window title says "Address Book", I have "Edit" instead of "Modifier", etc.
    How can I fix this minor inconvenience?
    Regards

    Hi,
    Try deleting this file.
    com.apple.systemiuserver.plist
    /Users/YourName/Library/Preferences.
    Drag that file from the Preferences folder to the Trash, empty the Trash and restart your Mac.
    Carolyn

  • How to Export Address Book contacts as CSV file for Gmail?

    Hi
    I wish to export some of my Address Book contacts towards Gmail (which i use through the web interface for now) but I don't want to export vcards as i don't trust big brother Google with all the other data (snail mail, phone numbers, birthdays, etc).
    I have tried to do the export through Address Book but found no CSV export option.
    I've searched the forum for an answer, but to no avail. Some other (paying) websites claim to offer solutions but the "pay before you see" deters me from using them.
    Any tip on how to do this would be greatly appreciated. Scripts and software also welcome, if shareware/freeware.
    Cheers,
    FMN

    Thanks for your answer, but gmail's help specifically states one can import contacts in CSV format and i was looking for a simple batch solution.
    Here is a link to the relevant gmail page (might be in French - am not a "Froguette" for nothing ;)) about importing:
    <http://mail.google.com/support/bin/topic.py?topic=28647>
    and the one about importing addresses as CSV files:
    <http://mail.google.com/support/bin/answer.py?hl=fr&answer=12119>)
    So my question still stands.
    FMN
    Message was edited by: FroguetteMiNote - wrong link corrected
    Message was edited by: FroguetteMiNote

  • Address Book break Apple rules !

    Very strange behaviour. I just notice that Address Book application store "user data" in the folder "user/library/application support".
    But this folder is not intend to keep such kinf of data, specially "user data".
    According to Apple rules,Application Support folder : "Contains application-specific data and support files such as
    third-party plug-ins, helper applications, templates, and extra resources that are used by the application but not required for it to operate. *This directory should never contain any kind of user data*. By convention, all of these items should be put in a subdirectory named after the application. For example, third-party resources for the application MyApp would go in Application Support/MyApp/. Note that required resources should go inside the application bundle itself."
    Source : <http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articl es/LibraryDirectory.html#//apple_ref/doc/uid/20002282-BAJHCHJI>

    True or not True, but i cause some troubles sometime when moving data manualy from a computer to another for example. It's also a problem when doing custom saves (how not forget Address Book database), and so on...
    Little annoyements.
    We talk a lot on french usenet (fr.comp.os.mac-os.x) this subject and we also found that Mail data has the proper location : why not put mail data into user folder like "music" folder or "images" folder, why not a "mail" folder. This is the same behaviour and potential problem.
    Those little difference between user data handle and "proper" location is not a big issue of course, but may cause some little damage and confusion.
    MacOS X could be improved here.

  • Autofill address book

    Just the address book is in French. How do I change it to English?

    my nephew fixed it somehow.

  • ADDRESS BOOK- cell phone use_pairing_

    I having paired my cellphone Moto Razr with my powerbook g4 it works with everything except address book. Help says I should be able to use caller id and make calls by dialing numbers with Address Book. I hit the bluetooth button in address book and it asks for a passkey any help?

    tinatina wrote:
    However, it seems that for address, I only have the standard American format (city, state, zip, etc).
    It's possible, though admittedly tedious, to get your addresses formatted on a country-specific basis.
    If you export your contacts either as individual VCards or one large VCard, these files are in an editable text format. With an editor like TextEdit, you can quite easily edit the foreign addresses to use something other than the default address format (US, in your case).
    For each address field you will find two lines beginning something like:
    item3.ADR;type=HOME; +(home street address follows)+
    item3.X-ABADR:us
    That trailing ":us" in the 2nd line is the country format code (the item numbers will vary). You can change it on a per-entry basis to ":de" for German addresses, ":fr" for French addresses (are they different?), etc, etc. After editing the VCard file(s) they can be reimported into Address Book - of course, you'll have to deal with the duplicate entries for each of the reimported contacts...

  • "Address Book" now "Adressbog" after 10.4.5 combo update!

    Hi All,
    I'm in the USA.
    For some reason after using 10.4.5 combo updater my Address Book is now in a foreign language. I think it's a Scandinavian language. The Address Book is now called Adressbog and all the menus are in a foreign language.
    Any ideas what happened?
    Best,
    John
    G4 QuickSilver   Mac OS X (10.4.5)  

    I have a a similar problem. I have gone from French to Swedish (?) Chinese briefly, and back to Swedish (?) I have tried changing my language preference, but seem to have lost English and have a lot others that I don't understand. Try clicking on Applications in the hard drive then address book then get info (or hit the key with the apple on it and the letter i) you should get Address book info and at the bottom is languages if English is checked that is a good thing. I don't even have it on my imac just my ibook. anyway next under the apple on the top right of your screen and then go to preferences then over to international and click on it and you should have a choice of languages. drag English to the top and you should be okay. If either of these don't work you'll be in the same boat as me. I two people working on my problem now. So let me know if you aren't fixed. S.

  • Problems sync'ing Address Book and iPod (5th)

    I sync my ipod address book (with iTunes and Address Book) but not every contact get sync'ed! Sometimes I change a contact picture or add a phone number and the updated version doesn't seem to show up on my ipod... It happens with several contacts on different occasions... Even if i delete those contact and create new ones from scratch.
    Also, when I add a second phone number and set this number as "Home" (like for a Summer house), this number replace the first (home) number on my iPod. When I set this new number to be "Other", it just doesn't show up on my iPod. The only way I can make it visible on my iPod is to set it as "Work" (if I don't have a phone number set up as "Work" for that contact already). Pretty annoying...
    Finally, some phone number are set up as xxx-xxx-xxxx (my default address format in AB) and some shows up as (xxx) xxx-xxxx even if everything looks fine in AB (phone numbers' label, contact's picture, address format...)
    at lost...
    maybe isync (or hotsync) has something to do with it (since i've never sync'ed with .Mac)
    iPod 5th
    10.4.10
    iTunes 7.3.2

    This is not an iSync issue, but a Motorola one. On your phone, go to the address book, click on the middle button, choose 'Configuration' (near the end), 'See', and choose 'Main contacts' instead of 'All contacts'. This is loosely translated from French, your mileage may vary.
    PowerBook G4   Mac OS X (10.4.6)  

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

Maybe you are looking for