// @topic T11706 Swing demo A10 -- GUI window with radio buttons, menus, and dialogs // @brief class GroupRadioButtonsListener implements ActionListener /** * @author ik */ package pckg; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; /** * Listens to the radio buttons */ class GroupRadioButtonsListener implements ActionListener { GroupRadioButtons mGroupRadioButtons; public GroupRadioButtonsListener(GroupRadioButtons grb) { mGroupRadioButtons = grb; } /** * Handles user clicks */ public void actionPerformed(ActionEvent event) { mGroupRadioButtons.actionPerformed(event); }//class: GroupRadioButtonsListener }//class GroupRadioButtonsListener