CIT 230-1001 and 3001, Advanced Java, Spring 2017 Instructor: Brian Bourgon Homework #4 Create a program...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
CIT 230-1001 and 3001, Advanced Java, Spring 2017 Instructor: Brian Bourgon Homework #4 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 ■ Data protection will ensure that the first 1-4 characters are numeric and the last character is either a orp (e.g. 315a, 1230p, 1p) An Exception will be thrown if an invalid data type is entered 。 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, etc.), a time text box an appointment detail text box. ⚫ There will be three buttons (you may arrange these in your interface however you like): "Submit" which will save the data into an ArrayList of Appointment objects, "Clear" which will 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 GUI design, basic Event handling, enumerations, and using API classes we have not reviewed in class. CIT 230-1001 and 3001, Advanced Java, Spring 2017 Instructor: Brian Bourgon Homework #4 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 ■ Data protection will ensure that the first 1-4 characters are numeric and the last character is either a orp (e.g. 315a, 1230p, 1p) An Exception will be thrown if an invalid data type is entered 。 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, etc.), a time text box an appointment detail text box. ⚫ There will be three buttons (you may arrange these in your interface however you like): "Submit" which will save the data into an ArrayList of Appointment objects, "Clear" which will 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 GUI design, basic Event handling, enumerations, and using API classes we have not reviewed in class.
Expert Answer:
Answer rating: 100% (QA)
Heres a basic implementation of the scheduler program following the given requirements import javafxapplicationApplication import javafxgeometryInsets import javafxgeometryPos import javafxsceneScene ... View the full answer
Related Book For
Project management the managerial process
ISBN: 978-0073403342
5th edition
Authors: Eric W Larson, Clifford F. Gray
Posted Date:
Students also viewed these programming questions
-
Questions: What do the percentages show? What conclusions can you draw from the data being presented given the confidence interval/margin of error shown?
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
Predictive text entry systems are familiar on touch screens and mobile phones. This question asks you to consider how the same principles might be used in a programming editor for creating Java code....
-
Write a StockAccount client that builds an array of StockAccount objects, computes the total value of each account, and prints a report for the accounts with the largest and smallest values. Assume...
-
Lakshmi Ltd. reports the following inventory transactions in a periodic inventory system for the month of June. A physical inventory count determined that 1,600 units were on hand at the end of the...
-
Mr. Leon filed his 2014 Form 1040 by the April 15, 2015, filing date. In 2017, the IRS issued a notice of deficiency to Mr. Leon in which it assessed $7,700 of additional 2014 income tax. Compute the...
-
What advantages does a public offer have for the acquirer over an acquisition on the market? What are the drawbacks?
-
1. Offender is at least 18. 2. Offender is white. 3. Offender is male. 4. Victim is a white female. 5. Victim is either white or female. 6. Victim and offender are from the same age category. 7....
-
Evaluate the indefinite integral: 6x4 - 5x 23 dx = + C.
-
For each of the following lists of premises, derive the conclusion and supply the justification for it. There is only one possible answer for each problem. (1) 1. G F 2. F 3. _______ ____ (2) 1. S...
-
Marvel Parts, Incorporated, manufactures auto accessories. One of the company's products is a set of seat covers that can be adjusted to fit nearly any small car. The company has a standard cost...
-
31. Regarding the previous question, suppose the company decides not to continue using the asset and will put it up for sale. As long as the asset has not been sold, the company will: a. Continue to...
-
In September 2017, a fictional U.S.-based hedge fund manager is confronted with a question from one of his limited partners (LPs) regarding the sharp rise in price of bitcoin and its suitability for...
-
Please post here any links to articles that may be of interest to the class about global foreign exchange markets, such as speculation,trading foreignexchange, stock market, banks and exchanges,...
-
Lecture 8 spelled out the basic monetary trilemma for open economies. Of the three goals that most countries share independence in monetary policy, stability in the exchange rate, and the free...
-
External Byte is a recently listed company. The shareholders in this company have just received a dividend payment and they have been told that their next dividend payment will be $2.24. Investors...
-
Participant ID, Pamphlet Presentation Style, Test scores 1, text only, 11 2, text only, 4 3, text only,5 4, text only, 4 5, text only,9 6, text only, 3 7, text only, 7 8, text only, 5 9, bold, 10 10,...
-
What impact has the Internet had on the globalization of small firms? How do you think small companies will use the Internet for business in the future?
-
You are creating a customer database for the Modesto Nuts minor league baseball team. Draw a project network given the information below. Complete the forward and backward pass, compute activity...
-
The National Oceanic Research Institute is planning a research study on global warming in Antarctica. The 16-month network schedule is presented below. It is followed by budgets for each activity....
-
You work for LL Company, which manufactures high-end optical scopes for hunting rifles. LL Company has been the market leader for the past 20 years and has decided to diversify by applying its...
-
Hawk Skateboards is considering building a new plant. Robert Optimist, the company's marketing manager, is an enthusiastic supporter of the new plant. Roberta Wunder land, the company's chief...
-
Bolus Company is considering the purchase of a new machine. The invoice price of the machine is \($112,000\), freight charges are estimated to be \($3,000\), and installation costs are expected to be...
-
Lafluer Corp. is thinking about opening a soccer camp in southern California. In order to start the camp, the company would need to purchase land, and build four soccer fields and a dormitory-type...
Study smarter with the SolutionInn App