Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

explain types of programming language and time to built

Answered: 1 week ago

Question

explain what is meant by redundancy

Answered: 1 week ago