edu.trinity.cs.bmassing.gui
Class SimpleCalc

java.lang.Object
  extended by edu.trinity.cs.bmassing.gui.SimpleCalc

public class SimpleCalc
extends java.lang.Object

Class for a simple calculator program. It displays a "current value" and provides a text area for entering numbers and buttons that add/subtract/etc. the number in the text area to the "current value". Layout could probably be improved, but is a reasonable first attempt.


Constructor Summary
SimpleCalc()
          Constructs an object.
 
Method Summary
static void main(java.lang.String[] args)
          Tests / demonstrates class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCalc

public SimpleCalc()
Constructs an object.

Method Detail

main

public static void main(java.lang.String[] args)
Tests / demonstrates class.

Parameters:
args - command-line arguments, not used