So I have this issue when I clean and build my project, my button doesn't call any methods that it is supposed to call. It only works when I run the program in the NetBeans IDE. The weird part is my other buttons work but this one doesn't. Here is my code there is nothing wrong with it, I just don't know why this is happening.
private void btnPlayMouseReleased(java.awt.event.MouseEvent evt) {
btnPlay.setIcon(unpressPlay);
// Goes to ChoiceFrame
ChoiceFrame displayPick = new ChoiceFrame();
// Makes GameFrame visible
displayPick.setVisible(true);
// Close the previous window
//callPlay();
dispose();
}