Replace (add action here), with myTestField.setText("0"), or score = 0; myTestField.setText(score). Something along those lines.
The official Java tutorials are an excellent place to learn Swing and other related Java techs, it's quite good, so follow that link peeskillet gave you in the comments. There's some good books on Swing too, I would recommend Filthy Rich Clients.