I have java method that executes a very long model. It takes about 20 minutes. When I press the button, the button remains pressed until the model is finished. I need to create a button that when is pressed, it stop the model execution So far I have 2 buttons: Stop and Start. My problem is that when I press the start button, all the buttons from the GUI are freeze and they cannot be pressed until the model finishes
How can I create a stop button?
Thank you,
Ionut