I'm downloading a file from Google drive on the click of a button in my program. File Download works perfectly. But it kind of hangs the program, while it is downloading file. after downloading, program is normal again.
So, in the duration, it hangs. I wanted to show something like progress bar, or animation, or a new JFrame
showing 'Please wait'. Even if I add the code of above Animation or frame before the code of download, it starts download, hanging the software, and when download finishes, it displays the frame window or animation.
Please help me. If I can use a progress bar, it would be a lot better. but it should not be connected to actual download progress and it should not have a cancel button.
Help me. If you need code of Download and Program, mention it and I will post.