I am running GUI application from USB device. This application takes time to launch, so i add a hour glass for that. This hour glass will come untill application show its main frame. Now, the problem is, if i plug out the USB device just before the main frames comes, the hour glass is running indefinatly. I checked Task manager. It shows javaw.exe running.
How to solve this problem?
subject: Other threads still running where main thread exits