I have a poblem with stoppping an action event in a JDialog. The dialog has a panel and the panel has two buttons. When the first button is clicked and an event was performed, I want to cancel the event of that button by pressing the second button. The problem is I cannot clicked the second button while the event of the pressed first button is still occuring.
Can somebody explain why.