I have a Java program, which launches a app, but before starting, it checks for the version.txt file, and if it doesn't exist, or there is a newer version available off my site, it downloads it. Well, not quite. I've got the part that checks for updates, and file existence, but not the updating part. I'm hoping I could make a launcher similar to the Minecraft game updater. So, I'll check for newer versions, and if one is available, it downloads the required files, and with a progress bar.
Thanks, Matthew.

Oops, forgot to say that..
I've found some tutorials on Google about downloading files in Java, but I'd like to build it so that I have a progress bar, and it downloads it in zip format, to keep files smaller, and make updating quicker.

Oops, forgot to say that..
I've found some tutorials on Google about downloading files in Java, but I'd like to build it so that I have a progress bar, and it downloads it in zip format, to keep files smaller, and make updating quicker.

well, use one of the tutorials, to download/check if the update exists, here is a tutorial on jProgressBars:http://docs.oracle.com/javase/tutorial/uiswing/components/progress.html then you would have to unzip the archive:http://java.sun.com/developer/technicalArticles/Programming/compression/ and then execute the update using the processbuilder class maybe:http://www.javabeat.net/tips/8-using-the-new-process-builder-class.html

This question has already been answered. Start a new discussion instead.