Adding import button to music player
问题 I'm trying to make it possible to make a functional import button, by this I mean I click the button, the file browser pops up and I can click a song then the player can play it. Just like any other music player. Here is a basic view of my code so far excluding the classes: import ddf.minim.spi.*; import ddf.minim.*; import ddf.minim.signals.*; import ddf.minim.analysis.*; import ddf.minim.effects.*; import ddf.minim.ugens.*; boolean play; boolean repeat; int k; String filename;// Minim minim