I am developing an applet and I want to do something that when I click a submit button then if a background process in running then it should indicate that a process is running in background and unable to do anything else.
I have tried something like progress bar but it needs to have coding in threads.
I am new in Java, so is there any other way to do this or I have to do it with the help of threads only?
Hey frnd use Java swingworker class
write your whole background BL in doinbackground() method .