CS-140

Fall 2014
Project 3

This project will introduce you to GUI Programming with Java Swing.

Description:

Create and test an app that will be a four function calculator (+-*/); similar the Windows and Mac calculator apps. In addition to the arithmetic operations there should be: clear memory (MC), save to memory (MS), recall from memory (RM), add to memory (M+) and subtract from memory (M-). All operations should work for both integers and floating point numbers.

The output display of the calculator should be display only (i.e. the user should not be able to type into it).

The behavior of your calculator should be as one would expect for a cheap calculator available at any drug or stationary store.

This should be demonstrated to the TA before grading.

Submit your source code files to the FTP server.

Last updated 02/12/2012