The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Java program

Hi,

I need a java program that study gedcom(genealogy file) and display the data in the file and check for errors and anamolies errors like birth date after death or death before birth ,divorce before marriage .and anamolies like marriage to wrong sex,birth date after death date,person born before parents marriage.Etc.

Re: Java program

it sounds like a big project!

I would take the problems as they come, I would leave checking for anomalies AFTER you have written your base code.
for your main program you will need to read in entire lines from I assume a text file and store them in an ArrayList of Strings.
start by writing that, and use a print statement after you have gotten the entire file to print your strings to make sure it stores it correctly.

let us know if you get stuck and ask a specific question, if not try the next step and format each entry into its own organized parts, again print to make sure you are still printing out the objects inside.

last consider your anomalies conditions and write code to check for them.

Re: Java program

how much will you pay me to do this for you? just kidding

These projects seem massive, i know because i was just working on one a week ago lol. Initially you dont know where to start, but i'd suggest starting from say, user input and then work with the methods that manipulate the input. Once you build momentum, it gets easier.

Re: Java program

Originally Posted by sarasaleem

Hi,

I need a java program that study gedcom(genealogy file) and display the data in the file and check for errors and anamolies errors like birth date after death or death before birth ,divorce before marriage .and anamolies like marriage to wrong sex,birth date after death date,person born before parents marriage.Etc.