toppan.setBorder(new TitledBorder(
"North Panel (inherits green background)"));
toppan.setForeground(Color.blue);
contentPane.add(toppan, BorderLayout.NORTH);
JRadioButton button1 = new JRadioButton("A JRadioButton... ");
JRadioButton button2 = new JRadioButton("And another JRadioButton");
ButtonGroup buttons = new ButtonGroup();
buttons.add(button1);
buttons.add(button2);
button1.setSelected(true);
toppan.add(button1);