Help,how to do?
Intel Media (M) Sdn Bhd is a small company selling computers, computer accessories and peripherals, printers, and computer media. This company requires a simple Employee Database System to manage the company’s human resources. Information such as the employee’s first name, employee’s last name, ID Number, gender, date of birth, address (containing street name, city, state and postal code), employment date, employment status (Probation or Confirmed), designation (job title/position), department, employment type (full-time or part-time) and salary needs to be kept in the database. The company wants to be able to add an employee record, view/change an employee’s details, and delete an employee record. It will only have a maximum of 50 employees.
You have been asked to develop this simple GUI application for the above company based on the requirements given above. Use an array to store the Employee Database. Prior to the development, you will need to come up with the Table Specification and the UML design of the classes required for your project. Use the Date class for date fields. Use a menu of your choice to perform operations on the Employee Database like adding a record, deleting a record, and amending the record. Make sure exceptions are handled in your coding where applicable.
What is the question? Ask questions to get help.
This looks like an assignment!
This assignment is the question !:)
Right. The answer is start coding and come back with when you have problems.
You want to get a general idea of what there is do do and then focus on each part, one at a time. The project spec suggests to start with the planning aspect. Okay. Then there is the gui part to put together. And then the model that will contain/edit the data. And how you'll connect the two. Pick one area and work on it. It's okay to reorganize things as you go. The more you do the more ideas you get about how you can design things and put them together.
You have been asked to develop this simple GUI application for the above company based on the requirements given above.
Fun. For gui development see Trail: Creating a GUI with JFC/Swing.
Use an array to store the Employee Database.
Easy enough. You can make up your own class(es) to store in the array. For info on arrays see Arrays.
Prior to the development, you will need to come up with the Table Specification and the UML design of the classes required for your project.
Okay. Sounds like the place to begin. Do you know how to do these?
Use the Date class for date fields.
Also helpful in working with dates: the Calendar and SimpleDateFormat classes and the DateFormat interface. See their respective api in the javadocs.
Use a menu of your choice to perform operations on the Employee Database like adding a record, deleting a record, and amending the record.
For developing menus see How to Use Menus.
Make sure exceptions are handled in your coding where applicable.
Covered in depth at Lesson: Exceptions.
Originally Posted by Norm
We are not here to do your homework for you. This is your responsibility - not ours. Everyone here is a volunteer and offers assistance in various ways using their free time. If you don't respect the assistance the members provide, then you will not get much respect in return. It's your work, I suggest you get started on it. Echoing what Norm said above, how can we help you if you don't present any evidence of effort on your part? I'd rather you just go somewhere else. But if you truly want assistance, then make a reasonable attempt at your work and present your issues after you've tried. You're not off to a good start here; I can only hope this is the last time you request such a thing... am I right? Read the FAQ before you post again.
hajeer, take your issue up with your own thread. Not in someone else's. It's simply not polite.(converted to thread)
I agree with the posters above me, although the assignment isnt all that hard you still need to learn it by doing it yourself if you have specific questions however i can help with the code :)