|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.trinity.cs.bmassing.gui.SimpleCalc
public class SimpleCalc
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 |
|---|
public SimpleCalc()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - command-line arguments, not used
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||