No check was present in `RadioMenuItem` accelerator to see if it is in a `ToggleGroup` or not.
Made changes to check if `RadioMenuItem` is part of `ToggleGroup` or not. If it is part of a `ToggleGroup`, then it can not be cleared using accelerator. Added test to validate the change. ------------- Commit messages: - Fix RadioMenuItem in ToggleGroup deselection on Accelerator issue Changes: https://git.openjdk.org/jfx/pull/1002/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1002&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8237505 Stats: 36 lines in 2 files changed: 35 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jfx/pull/1002.diff Fetch: git fetch https://git.openjdk.org/jfx pull/1002/head:pull/1002 PR: https://git.openjdk.org/jfx/pull/1002