how can i save a text from a jTextField then remove the text and print it back into the jTextField after pressing a jButton for java
i tried typing String val1String = jTextField1.getText() but it didn’t work and gave me a blank instead
New contributor
Edi100101 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.