Results 1 to 7 of 7

Thread: Help,how to do?

  1. #1
    wu2kai is offline Member
    Join Date
    Jul 2008
    Posts
    2
    Rep Power
    0

    Default Help,how to do?

    Requirements
    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.

    Assignment
    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.
    :confused:

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,266
    Rep Power
    25

    Default

    What is the question? Ask questions to get help.
    This looks like an assignment!

  3. #3
    wu2kai is offline Member
    Join Date
    Jul 2008
    Posts
    2
    Rep Power
    0

    Default

    This assignment is the question !:)

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,266
    Rep Power
    25

    Default

    Right. The answer is start coding and come back with when you have problems.

  5. #5
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    8

    Default

    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.

  6. #6
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

    Default

    Quote Originally Posted by Norm View Post
    Right. The answer is start coding and come back with when you have problems.
    wu2kai:
    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)
    Last edited by CaptainMorgan; 07-30-2008 at 01:27 AM.
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

  7. #7
    Join Date
    Jul 2008
    Posts
    33
    Rep Power
    0

    Default

    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 :)
    :DMy community with sourcode and examples :D
    Java remote image server/client working proof of concept: uitstekendeaccu.nl/tmp/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •