ICS 141 Programming with Objects
Program #8
35 points
Due Tuesday, April 27
COVER SHEET
|
Points Possible |
Points Earned |
Comments |
|
Design (4 pts) D1: Sketch of user interface |
|
|
|
Style (6 pts): S1: Program comments S2: Indenting and aligning S3: Meaningful names S4: Efficient code |
|
|
|
Implementation (25
pts): I1: (5 pts) Program is written
as an application (rather than an Applet) I2: (10 pts) Two of the
following are implemented: check
boxes, radio buttons, combo box I3: (5 pts) A layout manager
other than that used for program #7 is used (flow, grid, border, box) I4: (5 pts) User interface is
attractive |
|
|
I
understand that I must turn in original and individual work. I have not allowed anyone else to see my
code. I have not used someone else's work.
__________________________________________________________________
Date
Print
name here:
_______________________________________________________
Goals:
Understand how
to do input and output using graphical user interfaces and Java applets.
Problem Description: Add to or change the store program you wrote for program #7 as follows:
1. Change the
program into an application. (Program #7
requires an Applet).
2. Add two out
of these three input widgets to your program:
-
Check
boxes
-
Radio
buttons
-
Combo
boxes
3. Use a
different layout manager than the one you used for program #7.
Remember to personalize
your store. That is, sell something
other than clothing as shown in the example here. Make the user interface as attractive and
interesting as possible while retaining the functionality described for program
#7. Use panels and labels
appropriately. Choose an attractive
background color and text color.
Design:
Draw a picture
of the screen with all its widgets and labels.
Additional Requirements:
1. Include comments in your programs. At a minimum, include the following
information at the top of every file:
Your name:
Date:
Name of the
class:
Brief description
of the class:
Include
additional comments as needed to make the program clearly understandable.
Turn in:
1. The cover sheet for this assignment.
2. A diskette containing your html, java and class files. DO NOT EMAIL YOUR SOLUTION TO ME. Your diskette should contain only work for this assignment. Label your diskette (or CD) with your name.
3. Print outs of your source code.
4. Print outs of at least one run of your program (use
screen capture).
5. Your screen design
Thank you for putting both .java and .class files on your
diskettes.