|
I am assuming you are using the MouseClicked event. Using the ActionPerformed should (depending on your jre version) keep the mouse down until the functions within its scope are complete. A hack I have used before is to create a Boolean canClick, set it to false on click, then when all functions are complete set it to true. The other buttons would check this and if false, they would not click.
__________________
Best Regards,
JacobM
|