It’s in View menu (not sure of the exact name in English JOSM, but it’s Shift+Ctrl+F).