I made a filechooser that enables the user to save a file.
I used netbean's gui maker for it.
I literally have just one thing stopping me from finishing my task: The save button does not actually do anything. You can click on it, but nothing happens.
How do I add an actionlistener or something to that button? I've tried but all I managed was to add the listener to the entire filechhoser, meaning I can click anywhere on the filechooser and it will save the file.