I can not find a way to replace an integer. I intend to take an integer from a text field and replace it. I have not a code, but I will write something to make myself understood.
int a = 1500;
JTextField tf = new JTextField();
from this JTextField I would like to take the content number and replace int. Could you help me?