Implement The Java Code With The Frame Design And An Event Listener To Produce. Implement the java code with the frame design and an event listener to produce the above output.
Radio buttons should be added to a Button group with “Mr” as the default selection.
Age under 18 is considered a child and 18 and over is considered as an adult.
The radio buttons should be added to a button group.
When the button is clicked a suitable message should be displayed as above using a JOptionPane.
When the clear button is clicked the text fields should be cleared and the radio buttons reset to their default selection.
Implement The Java Code With The Frame Design And An Event Listener To Produce