Create an employee time clock in java using netbeans

create an employee time clock in java using netbeans

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

The timeclock needs to have a Main Screen that displays 4 options:
A) Add New Employee – Displays new employee screen
B) Punch In/Out – Displays punch in/out screen
C) Report – Displays report screen
D) Exit – Exits the program

• Display an input field called “Choice” to input one of the four options.
• Inputting an incorrect option shall display a prompt indicating that the input was invalid and to try again.

Add New Employee Screen
The ‘add new employee screen’ shall:
• Add a new employee (we will not worry about modifying or deleting.), saving the data to a memory object or file.
o The program shall allow the user to enter the Employee’s First and Last Name
o The program shall validate the first and last name entered to ensure they are not blank. (We will assume that everyone has a first and last name.)
o The program shall assign a new employee ID to the employee and display it on the screen.
o The employee ID shall be generated by adding 1 to the largest employee ID already in the employee memory object (or employee.txt data file).
o The program shall allow the user to enter an unlimited number of employees. In console based applications, the system shall prompt “Do you want to enter another? (y/n). Entering ‘y’ shall clear the screen and prompt for another employee. If ‘n’, the program shall return to the main screen.
o The employee data shall be saved to a memory object called employee (or file called employee.txt)
o Optional functionality: Check the first and last name to ensure that there are only valid characters. For examples, filter out numbers, punctuation, etc. Commas can cause problems because the data is being saved to comma-delimited files and that can be a headache!

Punch in/out Screen
The ‘punch in/out screen’ shall:
• Save the punch in or punch out date and time of the employee to a memory object (or file).
o The date and time, ‘I’ for Punched In or ‘O’ for punched out along with the Employee ID shall be saved to a memory object called timeclock (or file called timeclock.txt).
o The recorded date for ‘punched in’ and ‘punched out’ shall be the method for matching corresponding records.
o The program shall test to ensure that there is a ‘Punched in’ record for the corresponding day before a ‘punched out’ record is saved. If none is found, prompt the user to enter a ‘punched in’ time.
o When the user has punched in or out, the program shall display a message indicating that the employee has punched in or out, the employee ID, date and time.
o In console based applications the screen shall display “Press any key to continue”
o In console based applications the program shall return to the main menu after a key is pressed when the “Press any key to continue” prompt is displayed.
o Optional functionality: Add the day of the week to the data saved.
Report Screen (Hint: If you are writing a console application, java.io.PrintWriter may be useful.)
The ‘report screen’ shall:
• Allow the user to display a work history report for an individual or for all employees for the two weeks prior to the report request.
o The screen shall display a prompt to enter ‘I’ for individual employee report, ‘A’ for all employees report.
o If the selected value is ‘I’, prompt the user to enter the employee’s ID number.
§ If ‘I’ is selected the display shall show the employee’s name and ID, list out each day worked in chronological order, the number of hours worked that day and a total number of hours worked in the two week period.
§ The report shall prompt the user to re-enter an employee ID of it does not exist in the employee file.
§ Optional Functionality: If the user inputs a nonexistent employee ID more than 3 times, prompt the user and then return to the main screen.
o If the selected value is ‘A’, output the information to the console for the past two weeks.
o The end of the report shall display “Press any key to continue” to return to the main menu.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

It's no longer good enough to create a high-quality product at a reasonable cost.
That is why we have created 9 compelling warranties to make your usage of our service pleasant, simple, and secure.

Money-back guarantee

You must be completely confident in the quality of your products in order to provide a money-back guarantee. This is precisely how custom paper writing services work. We double-check that there are no hidden issues with this promise and that you are completely happy with the quality of your purchase.

Read more

Zero-plagiarism guarantee

Our writers do not employ others’ writing tricks, because we are aware that plagiarism may cost a lot to our clients and take away their reputation.

Read more

Free-revision policy

We want you to be satisfied with your order, so we offer a free revision policy. If you are not completely happy with your order, let us know and we will revise it for free.

Read more

Privacy policy

We care about our customers and always strive to keep their trust. That’s why Customwritingspapers.com guarantees privacy and safety of your personal information. To ensure total security, we take the following measures:

Read more

Professional Editors

Our team of editors works tirelessly to ensure that all papers meet our high standards for quality. They check for the instructions, grammar, punctuation, and spelling mistakes as well as for plagiarism.

Read more

Fair-cooperation guarantee

We would never want to jeopardize our relationship with you, and that is why we offer a fair-cooperation guarantee: If for any reason you are not satisfied with your order, you can always get your money back.

Read more

Professional Writers

We only hire the best, most qualified professionals to work on your order. Each writer is a degree holder with extensive experience in their field. You can be assured that your project will be handled by a true expert.

Read more

Quality Control

Our quality assurance department ensures that each paper is of excellent quality before it is sent to you. You can be sure that your paper will meet all of the requirements that you set. Our experts are highly skilled and will follow your specific instructions to the letter.

Read more

Customer support

We have a highly professional and qualified customer support team that is available 24/24, 365 days a year. They will be more than happy to answer any questions or concerns that you may have about our company or products. You can contact them by phone, email, or chat on our website.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Open chat
1
Order through WhatsApp!
customwritingspapers.com
Hello!
You Can Now Place your Order through WhatsApp

Order your essay today and save 30% with the discount code DISCOUNT2022