how to Store and recall numbers in java ?
is there a java method to store a number in the memory and recall it
like MS and MR in the Microsoft Calculator?
when the MS button is clicked it store the numbers
When MR button is clicked it recalls the number
lets say ive used
i.e using the String s method which is simple straight forward
actionPerformed Event e blaah blah blah
//add your handling code here
now when the MS button is clicked it stores both the values in "textFieldA" and "Temperature" to the memory
and when the MR button is clicked it recalls the stored numbers textFieldA,Temperature from the memory and sets it back
using the .setText("") method in "textFieldA" and "Temperature"
is this possible ?
your solutions are welcome:confused: