im trying to execute this code :
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
try {
JFXPanel j = new JFXPanel ();
String uri = new File ("Alex Clare - Too Close.mp3").toURI().toString();
MediaPlayer m = new MediaPlayer (new Media (uri)).play();
}
catch (Exception e)
{
}
my netbeans 15.4 didnt recognize those classes even i import them in the top of the program.what is the solution please ?