I know im supposed to user a time, but am not sure how to implement it. I tried looking online, but I couldn't find anything relating to clearing a text field. Could someone show me how this is done.
Asked
Active
Viewed 132 times
0
-
I think, this will help you: http://stackoverflow.com/questions/13503788/confusion-with-the-java-swing-timer – Yegor Korotetskiy Nov 28 '14 at 19:54
-
When actionPerformed method is called, simply set the fields text to null our "" – MadProgrammer Nov 28 '14 at 20:01
-
Yea, but how do I impliment the time to work with that is what is confusing me :/ – user1232112 Nov 28 '14 at 20:13
-
Have you taken a look at the link that Yegor Korotetskiy posted? That shows a good way to do it. – TNT Nov 28 '14 at 20:19