Make It a Double...Calculator Lab Part 1 - Widgets Only

Due Date: Monday March 20, 2000 at 8:00 am

*Jim's Sample Solution! *Justin's Sample Solution! *Janice's Sample Solution! *Sonia's Sample Solution! *


Overview for Labs 9, 10, & 11:
You are going to build a calculator of some type. We hope you don't resort to the standard and boring four function (+, - , x, /) calculator but something from your field of study. The rules are fairly simple:
- There must be at least five interactive widgets of your choosing
- At least one must be in input widget where the user enters the needed information
- At least one must be an output widget where the results of your calculation are displayed
- At least one must be a button that in some way affects the calculation

This only totals three so you will need multiples of some or all of the widget types.

Assignment:
For this lab, you will get the widgets displayed as you want them on the screen. Do not worry about their location or getting them to actually work with the user and do the calculation. The physical arrangement or "layout" of the widgets will be the focus of lab 10 and the actual interaction with the user and computation will be done in Lab 11.

Background
Possible calculators:
- four function calculator
- currency converter
- metric/US converter(NASA is interested...)

Keep it simple at first. Once you have lab 11 working, you can make the calculator fancy.
The basic advice to follow is the KISS formula: "Keep It Simple, Student"

Handin Instructions:
Create a folder named according to the tradition of the first seven labs. Put the .html and .java file into that folder. DO NOT HAND IN THE .class FILE!


FTP your folder to the usual place. Look for a folder marked Lab9.


15-120 Spring 2000                                                                   Lab 9

Back to 15-120 Assignments