how to cancel a progressbar

hi,

I have a jprogressbar and a textArea which are working perfectly fine, but when i want to add a cancel button, so that the user can stop the process, the cancel button does not appear untill 100% is done. how shall i get the cancel button appear along with the progressbar and the textarea..

thank u

[322 byte] By [devsua] at [2007-11-26 23:56:29]
# 1
Quit triple posting questions: http://forum.java.sun.com/thread.jspa?threadID=5156783
camickra at 2007-7-11 15:41:52 > top of Java-index,Desktop,Core GUI APIs...