Source Code: / clientuser_net
We finally make the step to connect our radio buttons to control the sound effects in our application. We create getters and setters in the Application class, which we use to set a boolean to keep track if the user wants to hear sound effects or not. We then call the getters and setters in the application class from the xml defined radio button handlers, and also the programatic radio handler code.