This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
You need a ButtonGroup object then add those radio buttons to the group like below.
After that you need a action listener to control which radio button is enabled, eg click name button will disable location button and vice versa. To enable/disable radio button you can use the setEnable() method.