So I'm trying to write these brackets {}, which I need to press ALTgr or CTRL + ALT for. Either way Greenfoot decides to highlight the "class" section at the top and when I then press the key for the brackets, it just switches to another code-tab. Any idea how I can fix that?

