I have Eclipse on my Windows 8 laptop and on a Windows 7 PC at University. I made some projects at the University and tried to import them at home and there is an error on every single line. It tells me everything cannot be resolved to a type but, as you can see, when I start writing the project from scratch (the second half of the image) I have no such problems.
I apologise, I am new to Eclipse and wonder if anyone can offer any advice. Someone recommended modifying the buildpath settings, I tried to fiddle but could not resolve the problem.
What you are missing are the default Libraries in your project
Try this:
right-click on the EventHandlingDemo Project -> Build Path -> Add Libraries
then select the "JRE System Library" -> Next -> Finish
that should do it!