1.write a private innetener class called ButtonListener that implements ActionLisner. it should contain an actionPerformed method to handle the button events. this event handler will handle all button events, so you must get the action command of the event and write a decision structure to determine which color to set the background of the content pane.
2.write another private inner class called RadioButtonListener,similar to Button listener.It will handle all radio button events,so you will need to check the source of the event and write a decision structure to determine which color should be used for the text of the massage.