Can a RadioButton replace the title in a TitledBorder in Swing?

Is it possible to create a TitledBorder with a RadioButton instead of the "title" string? It will be like the standard TitledBorder , but instead of the string representing the box that is enclosed by the border, I would like to use a radio button instead.

enter image description here

For example, in the example above, I would like to have a radio button, "Titles Border" instead of a line.

+3


source to share





All Articles