I want to append a value into a JTextField in Java. Something like:
JTextField
String btn1=\"1\"; textField.appendText(btn1);
I think you'll find setText is the answer. Just combine the current value with the new value:
setText
textField.setText(textField.getText() + newStringHere);