Use EventUtils.synthesizeMouseAtCenter instead of adding a new synthesizeNativeMouseClick().