java - using infinite loop in a button click event -
is there known problem if use infinite loop within button click event? actually, first set program taking settings gui. when click start button, want function called continuously. function not part of gui. it's function remaining part of program.
yes, gui stop responding.
you should fire off worker thread computation instead. recommended reading:
Comments
Post a Comment