For those of you familiar with the concept of SwingWorker class. The issue is this. I want to let the user the ability to cancel the validation process that takes a long time -- sometimes a very long time when the database is slow. So, I placed the operation that makes this expensive call to the backend components (servlets, EJBs) into the construct() method. So, when the user clicks "Validate", I invoke the "start()" method of the SwingWorker class. When the user clicks "Cancel", I invoke the "interrupt()" method of the SwingWorker class.
However, the process still continues, although my debug message that the "Cancel" button was pressed is being printed. I want this expensive process to completely terminate when the user cancels. Any suggestions/ideas what to do? Many thanks! -Lenny, New York. _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
