-
Counter
int Counter
Counts the number of digits entered
-
Result
double Result
The answer displayed, as well as the second
-
Operand
double Operand
The first number entered for an operation
-
Mem
double Mem
The variable which holds whatever value the user
-
DecimalFlag
boolean DecimalFlag
The 'flag' that will signify whether or not the
-
OperatorKey
boolean OperatorKey
The 'flag' that will signify whether or not any
-
Operator
int Operator
An integer value to indicate which operator
-
Status
String Status
String to hold the status of various parts
-
LabelMem
JLabel LabelMem
This label is just to the left of the Display Label lcdDisplay, and will
indicate whether or not a value is being held in the calculator's "memory"
-
lcdDisplay
JLabel lcdDisplay
This is the Display Label, which is declared as a label so the user will
not be able to enter any text into it to possibly crash the calculator
-
button1
JButton button1
This is the declaration of all numeric buttons to be used in the applet
-
button2
JButton button2
This is the declaration of all numeric buttons to be used in the applet
-
button3
JButton button3
This is the declaration of all numeric buttons to be used in the applet
-
button4
JButton button4
This is the declaration of all numeric buttons to be used in the applet
-
button5
JButton button5
This is the declaration of all numeric buttons to be used in the applet
-
button6
JButton button6
This is the declaration of all numeric buttons to be used in the applet
-
button7
JButton button7
This is the declaration of all numeric buttons to be used in the applet
-
button8
JButton button8
This is the declaration of all numeric buttons to be used in the applet
-
button9
JButton button9
This is the declaration of all numeric buttons to be used in the applet
-
button0
JButton button0
This is the declaration of all numeric buttons to be used in the applet
-
buttonMinus
JButton buttonMinus
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonMultiply
JButton buttonMultiply
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonPlus
JButton buttonPlus
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonEquals
JButton buttonEquals
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonDivide
JButton buttonDivide
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonClear
JButton buttonClear
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonDecimal
JButton buttonDecimal
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonNegative
JButton buttonNegative
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonMPlus
JButton buttonMPlus
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonMClear
JButton buttonMClear
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonMR
JButton buttonMR
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonPercent
JButton buttonPercent
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonOneOverX
JButton buttonOneOverX
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonSqr
JButton buttonSqr
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.
-
buttonSqrRoot
JButton buttonSqrRoot
This is the declaration of all operation buttons that are used in applet.
MPlus, MClear and MR are all memory functions.