Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a program for a simple scheduler with the following requirements: There will be a DayofWeek enum where each of the days is included (MONDAY,

image text in transcribed
Create a program for a simple scheduler with the following requirements: There will be a DayofWeek enum where each of the days is included (MONDAY, TUESDAY, etc.). There will be an appointment class with three properties: . day of type DayofWeek time of type String o o "Data protection will ensure that the first 1-4 characters are numeric and the last character is either a or p (e.g. 315a, 1230p, 1p) An Exception will be thrown if an invalid data type is entered " o appointment of type String The main program will be a JavaFX GUI that uses 5 vBoxes inside a single HBox (these are . layouts). Each VBox will have a day label (Monday, Tuesday, Wednesday, et.), a time text box an appointment detail text box. You may opt for either a 5 day work week or full 7 day week There will be three buttons (you may arrange these in your interface however you like): he data into an ArrayList of Appointment objects, "Clear" which will "Submit" which will save t remove the data in the text boxes, and "Open" which will take the data saved in the Arraylist and populate it into the text boxes. .Handle all Exceptions thrown Follow the standard coding conventions used in Java This assignment is intended to get you to demonstrate knowledge of basic Gul design, basic Event handling, enumerations, and using API classes we have not reviewed in class. Notes: The enumeration can either be in the Appointment class you create, or in a separate java file. If the data protection for the time property sounds difficult, work on that last. You can get the program working without it first, and then go back and add it. The Arraylist is a generic type that lets you make an array type object of whatever type you specify (here it will be Appointment). Remember to work irn bite sized portions, not trying to tackle the whole thing at once. You can create a simpler test program for your Appointment class to get it right before working on the interface stuff. Also, remember the API documentation can help you use classes you have not used or seen before, and the book has examples of all of these classes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Luc Perkins, Eric Redmond, Jim Wilson

2nd Edition

1680502530, 978-1680502534

More Books

Students also viewed these Databases questions

Question

What does this public want on this issue?

Answered: 1 week ago

Question

Explain the causes of indiscipline.

Answered: 1 week ago

Question

Question How is life insurance used in a DBO plan?

Answered: 1 week ago