Exception in thread "main" java.lang.Error ...
I VERY new to Java but frustratingly I'm having an issue with compiling some code that should work. I've been working through the excellent tutorials by Bucky.
I've got to the one where he describes how to set up a screen ready to draw to:
(the code found in these excellent tutorials):
YouTube - Java Game Development - 3 - Creating a Screen for Games
YouTube - Java Game Development - 4 - Restoring Screen Size
YouTube - Java Game Development - 5 - Creating a Full Screen Display
The problem is when I try to compile and run it I get this error:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
No one else seems to be getting this issue, and I'm really not skilled enough yet in Java to have any idea what the problem could be. Has any one got any ideas?
I've downloaded the absolute latest Java devkit, so I'm wondering if they've changed something in it so this code won't run anymore.
If you can help I'll be extremely grateful! :D