this is your problem out = new FileOutputStream("inventory.dat");.
Try this and see what happends out = new FileOutputStream("C:" + File.separator + "inventory.dat");
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 875
Code tags enforcer
Offline 6,659 posts
since Dec 2004