Checking if a button exists in java
<p>I have some radio buttons and each one of then create a button with the Name "OK", such button is meant to proceed.
However, I need to check if the button already exists so the program don't create a copy of the button each time one of the radio buttons is clicked.</p>

<p><a href="https://i.stack.imgur.com/xI52t.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xI52t.jpg" alt="enter image description here"></a></p>