The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Displaying byte files

Hi, as part of an assignment i have to display the contents of a byte file which is inside a zip file using a java swing component. There is .exe file there and i would like to display the contents of it. I have

I don't have a ZipFile object. I had to write a program that expands a zip file that contains four files.. two .txt files and two .exe files and display and modify contents of these files. I was able to work with the .txt files as shown below in my code but in the else statement where i wish to deal with the .exe files.. i am stuck. I get confused with all these different input stream classes. I want to be able to display the contents of both the .exe files and then join them together. I appreciate your help if you can.