Question: Instructions 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

Instructions

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 apps prototype. Figure 1 shows the basic sketch ofthe prototype.

A. The prototype will have the following Java Swing components :Figure 1 : Basic sketch

COMPONENT

LABEL/TEXT

PURPOSE

Menu

Close

if click, the program will end

Button 1

ADD

if click, the content ofthe text field will be added to the text area

Button 2

RESET

if click, it will remove all the to-do texts from the text area

Button 3

REMOVE

if click, it will remove the to-do list based on the number entered by the 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

-

User enters the number/id of to-do text to be removed from text area

Label

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 ofthe 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.

C. Submission

Three files :

a. One(1) Java file - JFrame (.java)

b. One(1) form file (.form) automatically created when you choose the JFrame file

c. One(1) java file create a Class that provides methods to process the to-do string before being added to the text area or removed from the text area.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!