Change JTextField on JButton press

I am making a small program, and am trying to change a JTextField's contents on the press of its corresponding JButton. It should count down from a predefined amount of time to 0.
[187 byte] By [Prejudice182a] at [2007-11-27 8:20:22]
# 1
Add an ActionListener to the JButton and have it's actionPerformed method mutate the JTextField's contents.
dwga at 2007-7-12 20:08:39 > top of Java-index,Desktop,Core GUI APIs...
# 2
I tried that, but I couldn't even get it to fetch the contents of the text field.Can anyone suggest some sample code?
Prejudice182a at 2007-7-12 20:08:39 > top of Java-index,Desktop,Core GUI APIs...
# 3
> Can anyone suggest some sample code?better for you to post the code you've tried
Michael_Dunna at 2007-7-12 20:08:39 > top of Java-index,Desktop,Core GUI APIs...