问题
I am new to java and I'm having some problems with Jbuttons. I'm thinking of playing a button click sound when the button is pressed and playing a different sound when the button is released. I already know how to assign an actionlistener to a jbutton, but I have no idea of how to do this, and I didn't find an answer in Google. Thanks in advance.
来源:https://stackoverflow.com/questions/22942131/java-jbutton-release-action