What version of greenfoot are you using? and what are your system props?
I'm using the latest version of greenfoot on Windows 10 64 bit. I also installed eclipse (latest) and had a similar problem so I think it's system-wide, but the problem doesnt persist for other programs (MS Word, Photoshop).
Thanks