posted 12 years ago
I am trying to get a button to open a file directory, retrieve some file names and add them as elements to a JLIst. The code opens the filechooser flawlessly, but the minute I click OK in the save dialog, I get a null pointer exception.
The problem comes with the button listener. I get null pointer exception at:
Please help me sort this out. Thanks!