What cancel button are you referring to? Are you using a progress monitor other then JProgressBar. As far as my experience goes, a JProgressBar is only a bar and nothing more with options to display progress, etc.
Could you clarify a bit?
Thanks, David
Dad always thought laughter was the best medicine, which I guess is why several of us died of tuberculosis. -Jack Handy
Liat, What is this component's name (as in java class name)? Is it a standard Swing component? Is there any documentation for this component? Do you have access to the source-code for this component?