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 of the prototype.

A. The prototype will have the following Java Swing components : COMPONENT LABEL/TEXT PURPOSE Menu Close if click, the program will end Button 1 ADD if click, the content of the 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 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.

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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions