+ 1
Can we put actionlistener() to a button in loop in java?
I have made a reset button for a frame to refresh its contents but its action expires after a single execution.... How can I put it in loop?
1 Answer
+ 2
try eventQueue.invokeLater()
I have made a reset button for a frame to refresh its contents but its action expires after a single execution.... How can I put it in loop?