Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions a Your team leader would like to develop a simple to-do list app. The app will be a window-based GUI and developed using Java
Instructions a Your team leader would like to develop a simple to-do list app. The app will be a window-based GUI and developed using Java programming language. Before the project officially starts, you have been instructed to develop the app's prototype. Figure 1 shows the basic sketch of the prototype. Close ADD RESET 1 Assignment OOP submit on 31/12/2021 2 Buy bread for breakfast 3 Call mom tomorrow To Do List To Remove REMOVE Figure 1 : Basic sketch : A. The prototype will have the following Java Swing components : COMPONENT PURPOSE Menu Button 1 LABEL/TEXT "Close" "ADD "RESET" "REMOVE if click, the program will end if click, the content of the text field will be added to the text area if click, it will remove all the to-do texts from the text area if click, it will remove the to-do list based on the number entered by the Button 1 Button 3 user Text Area this text area will show/list all the to-do texts entered by the user Text Field 1 user enter the to-do item to be added Text Field 2 Label User enters the number/id of to-do text to be removed from text area "To Do List To Remove" B. The program flows : . . When run for the first time, the text area is empty. No data shown The user will enter the to-do item/text (without the number) in the text field provided The user will click the ADD button The program will concat/merge the to-do item with NUMBER (starting with 1). The number will increase when a new to-do item is added The program will add the input (to do item + number) to the text area To remove a specific to-do item user will enter the number of the to-do item, and the program will find the to-do item in the text area and remove it. Do not change the number sequence. For example, if the user removes to-do item number 2, in the text area, items 1 and 3 will still be shown
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started