I want to create a radio button that has more components than the default JRadioButton. I'm wondering what the best method is, should I subclass JRadioButton adding my extra components or is it better to subclass JPanel and add the behavior of a radio button as shown below.
---------JPanel---------------
- Titel (Label) -
- RadioButton (JRadioButton) -
- Description (label) -
------------------------------
The whole panel should be focusable and should provide feedback when clicked or has focus. Thanks for your help.