According to the video tutorial, I wrote an audio player using JLayer trabl in that the opening of the file is organized through the button with FileChooser, but after opening the song, the buttons stop pressing and the frame button does not respond to a bug or is there a cure? here is the code for the open button

JFileChooser chooser = new JFileChooser(); chooser.showOpenDialog(this); String file; file = chooser.getSelectedFile().getAbsolutePath(); FileInputStream fis = new FileInputStream(file); Player playmp3 = new Player(fis); playmp3.play(); 

on the second button, just System.exit (0);

    0