You were supposed to ask user if they want to enter another date (and to do it regardless of the input validity). This had not been done. I see, your frame is on all the time, but, please, do just what you were asked for, without this frame but with InoputDialog instead. For your design You had to CLEAR input TextField after obtaining an answer, and even in this case someway to let the user know that you are awaiting a new input, say, with MessageDialog: say them “enter another date or close the window” In your tests report there is no valid input at all. I’d like more detailed message in a leap year case, add “this is not a leap year” And test with a leap year as well. Your inpout message is for the Task3 Lab1! You have to correct it. And you never check “dd” and “mm” for length therefore you show, say, 1/2/1234 as a correct format while it is NOT. (Same about birthDate, it is in a WRONG format!)> Make corrections, add a “repetition” code add testing for the cases I pointed, and show a valid date as well. Add also a test with some letters in the input.

Thank you for your feedback. I apologize for any confusion caused. I will make the necessary changes to the program as per your instructions.

Firstly, I will include an InputDialog box instead of the frame, as you suggested. This will allow the user to enter another date without the frame being constantly visible.

Additionally, I understand that I need to clear the input TextField after obtaining an answer. This will prevent any previously entered text from persisting and ensure a clean input for each date.

To inform the user that I am awaiting a new input, I will include a MessageDialog that says “Please enter another date or close the window.” This will provide clear instructions to the user.

In my test reports, I will ensure that I include valid input examples. I understand that this is important for validating the correctness of the program. I will also provide a more detailed message in the case of a leap year, specifying that the input is not a leap year.

Regarding the input validation, I apologize for the oversight in not checking the lengths of “dd” and “mm”. I will rectify this by adding code to ensure that the format is correct and display an error message if it is not. Similarly, I will make sure that the birthDate is in the correct format.

In order to implement the desired repetitions, I will add a loop that allows the user to continue entering dates until they choose to close the window. This will provide the desired repetition functionality.

Lastly, I will include additional tests to cover the cases you mentioned, including testing with a leap year and input containing letters. This will ensure that the program handles all possible scenarios correctly.

Thank you for bringing these issues to my attention. I will make the necessary corrections and improvements to the program based on your feedback.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer