Hello, I am using BlueJ and I am totally lost on my newest programming assignment. Here is my source code, i would really appreciate if someone helped me out. This is my assignment. Ive done some of the work like entering all the data in for the combo boxes. But I dont know how to get the combo box to display, and I dont know how to write and read to a file, im SOo lost. If someone could just PLEASE take a look at the code and try to fix the combo box's and try to explain the code to me. I am willing to pay the person in return for the favor via paypal. My aim is <removed> if you want to help me out via chat.
Thanks in advance!
Computer Programming Special Projects - Assignment #1
This assignment will involve the study of three topics:
- Combo Boxes
- Saving Retrieving a File
- Exceptions
I have provided 3 links for you to help you get started. Besides these links you can do your own internet searches on these topics as well as any book I have to help you learn these topics.
To assess your understanding of these topics you will complete the following programming project –
Create a GUI based entry window that has the following fields
1. First name
2. Last name
3. Age
4. Street Address
5. City
6. State
7. Month of Birth
8. Year of Birth
9. Gender
The First name, last name, Street Address, and City fields will simply be JTextfields.
The Age field will be a JTextField, however your program must include an exception if the user does not enter a number.
The State, Month of Birth, Year of Birth, and Gender will be JComboBoxs. The Year of Birth Combo Box will include the years 1980 – 2010
You must also include an exception such that if a field is left blank an exception is thrown requiring the user to enter a value in the missing field.
This will also include 4 JButtons: Quit, Clear, Save, Submit.
The Quit button will terminate the program.
The Clear button will clear all fields without adding any information to the database
The Save button will save the current values in the data base. When saving the information for all people in the data base array will saved in the project folder. You can save it as any type/format you wish: Excel, Word, Text, etc.
The Submit button will enter the values from each field into the database array and will clear all the fields so the user can enter another person.