I am not sure if this is the correct thread but it is what I believe is the closest to my question.
--I am making a simple calculator and I need to make a double variable (or Int) that remembers what the user types inside the JTextField. How can I do this?