fix mnemonics and hiding of irrelvant items in Java editor