I've made a program that basicall serves as a music organizer. Import iTunes playlist. Remove duplicates. Edit stuff. Create new playlists. Previously it just used System.out.println to display the playlists. Now I found the joy (curse) of Netbeans and made a pretty GUI for the whole thing.
There is a class for reading text playlists, adding and showing music etc. Another one for extra sundry methods and then the new class for the JFrame Gui.
I want to put a button in the JFrame to open a JFileChooser window to select a file to import.
A made a new class for the FileChooser... But I have no idea how to make it go when I click the button...
I've tried some things already but I can't get it to work.