Some days ago, I had to decompress a zipped file, as usual before reinvent the wheel I googled just a little and I found an interesting class. I made only some minor changes (thanks to netbeans) to the class and here you are the result:

Add this class to your project and then when you need it, simple add the following two lines:

    UnZip unZip = new UnZip();



the original sources are at