This is a pretty recent problem but it only happens in greenfoot so i assume it is a problem with it but when i go to the code window to type something or do whatever this happens.
Here is the image link if the image won't load, http://imgur.com/a/27rA0

