Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please read all of it: GUI use required Create a Deposit class for a checkbook. The Deposit class will be able to get a Transaction

Please read all of it: GUI use required

Create a Deposit class for a checkbook.

The Deposit class will be able to get a Transaction number, date, description of the transaction, the deposit amount and calculate a new balance.

The user should be asked if they want to deposit, withdraw, or set a goal, again.

The user must have the option to Finish and display the final balance or exit the program.

Methods that must be used for the Deposit class: Math operators, Array List, loop, GUI

The user will be asked to use a + or in front of the number entered to add or decrease from balance.

An Array List will keep all current transactions, then it will remove previous transactions.

Methods that must be used for Transaction: JComboBox, Scanner, Loops

The user should select from a list (gas, food or bills) or be able to manually enter a type of transaction.

The user receives an error if they enter anything that is not a character string.

The user will also be asked to accept after entering it to confirm their entry.

If entry is not suitable they should be allowed to reselect or enter a new entry.

Method that must be used for the Date: set Local Date

Transactions that the user makes are dated.

The user must be prompted of the last time they logged in.

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

Students also viewed these Databases questions