I am trying to read an object from a file. I have followed the examples in my book and online that i could find. but i keep getting an error saying

Exception in thread "AWT-EventQueue-0"...