Java Reference
In-Depth Information
Table 8-1 BillPayer Program Development Tasks
DEVELOPMENT PHASE
TASK(S)
1
Analyze the requirements
Analyze the Crandall Power and Light problem.
2
Design the solution
Design the user interface for the program, and organize how the data will be
output to the storage device. Include an automatic date feature. Design the
logic to solve the problem.
3
Validate the design
Confirm with the user that the design solves the problem in a satisfactory manner.
4
Implement the design
Translate the design into code. Include internal documentation (comments and
remarks) within the code that explains the purpose of the code-statements.
5
Test the solution
Test the program. Find and correct any errors (debug) until it is error free. Use
sample data to test both valid and invalid entries.
6
Document the solution
Print copies of the program code, and verify data output with a sample file.
REQUEST FOR NEW APPLICATION
Date submitted:
November 15, 2007
Natani Rebeau
Manager of Payment Services
Crandall Power and Light
Submitted by:
Purpose:
We want to standardize the interface that remote locations use to
accept payments from our customers. All data is to be stored in a
file for nightly uploading to the central server.
Application title:
BillPayer
Algorithms:
The interface should accept data for the following eight fields.
Account Number
• Address
• City
• State
• Zip
Payment Amount
First Name
Last Name
The data needs to be verified for completeness before it is written.
Clicking the Close button should generate an “Are you sure?” type
of dialog box to guard against inadvertent closing before the end of
the day.
The name of the data file should include the system date to make
the name unique.
Notes:
Use the Swing Motif Look and Feel.
Make the interface appear the same size and in the same place each
time the program is run. The user should not be able to resize the
window.
Approvals
Approval status:
X
Approved
Rejected
Gregg Saffell, IT manager
Approved by:
Date:
November 19, 2007
Assigned to:
J. Starks, Programmer
FIGURE 8-2
Search WWH ::




Custom Search