# Csh3e3 #4 Ui Implementation - Int
# Csh3e3 #4 Ui Implementation - Int
IMPLEMENTATION
CSH3E3 #3
16-5
Taxonomy for Computer Inputs
(continued)
Process
Method
Data Capture Data Entry Data Processing
Point of Sale Data captured as close Data is often entered directly Data is almost always
to the point of sale as by the customer or by an processed immediately
humanly possible. No employee directly interacting as a transaction or
source documents. with the customer. inquiry.
Sound Data is captured as Data is entered using touch- Data is almost always
close to the source as tones (typically from a processed immediately
possible, even when the telephone). Usually requires as a transaction or
customer is remotely rigid command menu structure inquiry.
located. and limited input options.
Speech Same as sound. Data (and commands) is Data is almost always
spoken. This technology is not processed immediately
as mature and is much less as a transaction or
reliable and common than inquiry.
other techniques.
Optical Mark Data is recorded on Eliminates the need for data Data is almost always
optical scan sheets as entry. processed as a batch.
marks or precisely
formed letter, numbers,
and punctuation.
16-6
Taxonomy for Computer Inputs
(concluded)
Process Method Data Capture Data Entry Data Processing
Magnetic Ink Data usually prerecorded A magnetic ink reader reads Data is almost always
on forms that are the magnetized data. The processed as a batch.
completed by the customer-added data must
customer. The customer be entered using another
records additional input method.
information on the form.
Electromagnetic Data is recorded directly Data is transmitted by radio Data is almost always
on the object to be frequency. processed immediately.
described by data.
Smart Card Data is recorded directly Data is read by smart card Data is almost always
on a device to be carried readers. processed immediately.
by the customer,
employee, or other
individual that is
described by that data.
Biometric Unique human Data read by biometric Data is processed
characteristics become sensors. Primary immediately.
data applications are security
and medical monitoring
16-7
Automatic Identification:
Bar Codes
16-8
Input Design Guidelines
• Capture only variable data.
• Not data that can be looked up.
• Do not capture data that can calculated or stored in
computer programs as constants.
• Extended Price, Federal Withholding, etc.
• Use codes for appropriate attributes.
16-9
Source Document /
Form Design Guidelines
• Include instructions for completing the form.
• Minimize the amount of handwriting.
• Data to be entered (keyed) should be sequenced
top-to-bottom and left-to-right.
• When possible use designs based on known
metaphors.
16-10
Bad Flow in a Form
16-11
Good Flow in a Form
16-12
Metaphoric Screen Design
16-13
Internal Controls for Inputs
• The number of inputs should be monitored (to minimize risk of lost
transactions).
• For batch processing
• Use batch control slips
• Use one-for-one checks against post-processing detail reports
• For on-line systems
• Log each transaction as it occurs to a separate audit file
• Validate all data
• Existence checks
• Data-type checks
• Domain checks Need some codes here
• Combination checks
• Self-checking digits
• Format checks
16-14
Sub Topic #2
Information Output Media
Implementation Methods for
Outputs
• Printed output
• Tabular output presents information in columns.
• Zoned output places text and numbers into designated areas
• Screen output
• Graphic output is the use of pictorial charts to convey information and demonstrate
trends and relationships that cannot be easily seen in tabular formats.
• Point-of-sale terminals
• Multimedia
• E-mail (baru : sms, WA)
• Hyperlinks
• Microfilm or microfiche
15-16
Taxonomy for Computer-Generated
Outputs
Distribution Internal Output
(reporting)
Turnaround Output
(external; then internal)
External Output
(transactions)
Delivery
Printer Detailed, summary, or Business transactions Business transactions
exception information printed on business forms printed on business
printed on hard-copy that will eventually be forms that conclude the
reports for internal returned as input business business transactions.
business use. transactions.
Screen Detailed, summary, or Business transactions Business transactions
exception information displayed on monitors in displayed on business
displayed on monitors for forms or windows that will forms that conclude the
internal business use. also be used to input other business transactions.
data to initiate a related
transaction.
Point-of-Sale Information printed or Information printed or Information printed or
Terminals displayed on special- displayed on a special- displayed on special-
purpose terminals purpose terminal for the purpose terminals
dedicated to specific purpose of initiating a follow- dedicated to
internal business up business transaction. customers.
functions.
15-17
Taxonomy .. (concluded)
Distribution Internal Output Turnaround Output External Output
Delivery (reporting) (external; then internal) (transactions)
Multimedia Information transformed Information transformed into Information
(audio or video) into speech for internal speech for external users who transformed into
users. respond with speech or tone speech for external
input data. users.
Microfiche Archival of internal Not applicable unless there is Not applicable unless
management reports to an internal need to archive there is an internal
microfilm that requires turnaround documents. need for copies of
minimal physical storage external reports.
space.
15-18
Chart Types
Line charts show one or more series of data over a period
of time. They are useful for summarizing and showing data
at regular intervals. Each line represents one series or
category of data.
Area charts are similar to line charts except that the focus is
on the area under the line. That area is useful for
summarizing and showing the change in data over time.
Each line represents one series or category of data.
Column charts are similar to bar charts except that the bars
are vertical. Also, a series of column charts may be used to
compare the same categories at different times or time
intervals. Each bar represents one series or category of
data.
15-19
Chart Types (concluded)
Pie charts show the relationship of parts to a whole. They are
useful for summarizing percentages of a whole within a single
series of data. Each slice represents one item in that series of
data.
Donut charts are similar to pie charts except that they can show
multiple series or categories of data, each as its own concentric
ring. Within each ring, a slice of that ring represents one item in
that series of data.
Scatter charts are useful for showing the relationship between two
or more series or categories of data measured at uneven intervals
of time. Each series is represented by data points using either
different colors or bullets.
15-20
Output Design with an Old Style
Printer Spacing Chart
15-21
Output Design with a Modern CASE
Tool
15-22
Output Design with a Report Writer
Tool
15-23
Output Design with a Report Writer
Tool (continued)
15-24
Sub Topic #3
16-26
Common GUI Controls Uses
• Text boxes
• When the input data values are unlimited in scope
• Radio buttons
• When data has limited predefined set of mutually exclusive values
• Check boxes
• When value set consists of a simple yes or no value
• List boxes
• When data has a large number of possible values
• Drop down lists
• When data has large number of possible values and screen space is
too limited for a list box
• Combination boxes
• To provide user with option of selecting value from a list or typing a
value that may or may not appear in the list
• Spin boxes
• When need to navigate through a small set of choices or directly
typing a data value
16-27
Advanced Controls (mostly Windows
interfaces)
• Drop down
calendars
• Slider edit controls
• Masked edit
controls
• Ellipsis controls
• Alternate numerical
spinners
• Check list boxes
• Check tree boxes
16-28
Advanced Controls (mostly Windows
interfaces)
16-29
Sub Topic #4
GUI in Netbeans, Dream Weaver, Visual Studio
Make GUI in Netbeans
Exercise 1: Creating a Project
The first step is to create an IDE project for the application that we are going to develop. We
will name our project NumberAddition.
• Choose File > New Project. Alternatively, you can click the New Project icon in the IDE
toolbar.
• In the Categories pane, select the Java node. In the Projects pane, choose Java Application.
Click Next.
• Type NumberAddition in the Project Name field and specify a path, for example, in your
home directory, as the project location.
• (Optional) Select the Use Dedicated Folder for Storing Libraries checkbox and specify the
location for the libraries folder. See Sharing a Library with Other Users in Developing
Applications with NetBeans IDE for more information.
• Deselect the Create Main Class checkbox if it is selected.
• Click Finish.
Exercise 2: Building the Front End
• To proceed with building our interface, we need to create a Java
container within which we will place the other required GUI
components. In this step we'll create a container using the JFrame
component. We will place the container in a new package, which will
appear within the Source Packages node.
Create a JFrame container
• In the Projects window, right-click the NumberAddition node and choose New >
Other.
• In the New File dialog box, choose the Swing GUI Forms category and the JFrame
Form file type. Click Next.
• Enter NumberAdditionUI as the class name.
• Enter my.numberaddition as the package.
• Click Finish.
The IDE creates the NumberAdditionUI form and the NumberAdditionUI class
within the NumberAddition application, and opens the NumberAdditionUI form in
the GUI Builder. The my.NumberAddition package replaces the default package.
Adding Components: Making the
Front End
• Next we will use the Palette to populate our application's front end
with a JPanel. Then we will add three JLabels, three JTextFields, and
three JButtons. If you have not used the GUI Builder before, you might
find information in the Designing a Swing GUI in NetBeans IDE tutorial
on positioning components useful.
• Start by selecting a Panel from the Swing Containers category on Palette and drop it
onto the JFrame.
• While the JPanel is highlighted, go to the Properties window and click the ellipsis
(...) button next to Border to choose a border style.
• In the Border dialog, select TitledBorder from the list, and type in Number Addition
in the Title field. Click OK to save the changes and exit the dialog.
• You should now see an empty titled JFrame that says Number Addition like in the
screenshot. Look at the screenshot and add three JLabels, three JTextFields and
three JButtons as you see above.
Renaming the Components
In this step we are going to rename the display text of the components that were just added to the JFrame.