473,395 Members | 2,151 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Need java help, thanks PLEASE

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.
Sep 22 '07 #1
1 1315
JosAH
11,448 Expert 8TB
Hi, don't just dump your homework here and expect others to do it for you, not
even if you want to pay for it. If you want paid work check out rentacoder.com.

Ask detailed questions, showing what you've already done; maybe include a bit
of relevant code and ask about the part that doesn't work as you expected it to
work, but please don't tell us that you're stuck and want to leave it to us; we won't
do it but we're willing to help you out with particular problems. Please also read
the forum guidelines (see the 'Help' link near the top right corner of this page).

kind regards,

Jos
Sep 23 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
0
by: Limpor | last post by:
Hi, I’m working on a solitaire game as my course assignment, and I am having trouble to dealing with Stock class, which consists of an upturned top card plus deck. The code for Stock class: import...
0
by: south622 | last post by:
I'm taking a beginning Java course and I'm stuck in week eight of a nine week course. If anyone could help me I would greatly appreciate it. This assignment was due yesterday and each day I go past...
2
by: vijaykumardahiya | last post by:
Hello Sir, I have a simple Issue but It is not resolve by me i.e input parameter are not store in Ms-Access. I store the input parameter through Standard Action <jsp:useBean>. jsp:useBean call a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.