How do you add sounds effects to radio Buttons in Java GUI? For example the click sounds when clicking the radio Buttons. Please tell me and explain how.
I didn't try or copied all of those examples and explanations in YouTube years ago are cause they're somewhat Vague and not really exaggerated I just really want to know how. I just wanna know what are the basics. Please do Share. Thank you.
Its been a while since I did this. I would say in your action handler that is where you want to get your sound and then play it. So somthing like this:
Change the code to work with whatever gui framwork you are using, but the overall design should be something similar