ZipFile zipfile;
String fileName = openFileDialog1.getFile();
File file = new File(fileName);
zipfile = null;
try
zipfile = new ZipFile(file); /*here is the problem*/
...
}
The problem occures while making the ZipFile object. I get the following
Exception:
java.io.IOException: Ipt4.zip
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:72)
at java.util.zip.ZipFile.<init>(ZipFile.java:59)
at java.util.zip.ZipFile.<init>(ZipFile.java:71)
at Frame1.openMenuItem_ActionPerformed_Interaction1(Frame1.java:215)
at Frame1.openMenuItem_ActionPerformed(Frame1.java:190)
at Frame1$SymAction.actionPerformed(Frame1.java:178)
at java.awt.MenuItem.processActionEvent(MenuItem.java:435)
at java.awt.MenuItem.processEvent(MenuItem.java:399)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:190)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:182)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Anyone ?
Thanks in Advance,
Aus Khalil