Geertjan Wielenga: Integrating ZIP Features in a NetBeans Platform Application
Let's say your requirement is that you need to open a ZIP file into an application, modify its content, and then ZIP it all up again. And you're using the NetBeans Platform. Here's the general approach to take: Learn from Similar Code. The very first thing to do is to ask yourself: "Does NetBeans IDE or any other NetBeans Platform application do something similar?" The answer in this case is Yes because NetBeans IDE has "File | Import Project | From ZIP". So you can look in the NetBeans source code and get some nice code relating to java.util.zip.ZipInputStream, while...