Member Avatar

Hello, I am doing my first JFrame. I want it to have a button where the user clicks it and music plays. I already made the button (called b1) but i can't seem to find code for the music to be imported and played. I have tried a whole bunch of websites but none of them work. Anyone here have a good code to play music in a JFrame?

+0 forum 0
Member Avatar

Hello, I am trying to add audio files to my program. I am using a desktop application and not an applet. All the code that i have found online is for an applet. Is there a way for me to add audio code to a desktop application and not an applet? -Thanks

+0 forum 0

The End.