I'm experiencing a following problem. I have designed a GUI in implemented Netbeans GUI builder and I've got several buttons in my program. If I press one of the button it will start running some method that takes about 10 seconds, but there is also a button for cancelling running this method. But while the Button 1 method is running I can not click on any other button in my program, it's like being freezed and I have to wait until the method is done. I think this has something to do with multithreading, can you guys give me a hint ??
Thanks !