That Exception pretty much sums it up- you're trying to cast a JDialog as an ActionListener. You can't do that. You have to either use a class that extends ActionListener or an anonymous inner class....
Type: Posts; User: KevinWorkman
That Exception pretty much sums it up- you're trying to cast a JDialog as an ActionListener. You can't do that. You have to either use a class that extends ActionListener or an anonymous inner class....
Yikes, that is waay too much code- we simply don't have time to sift through all of it, especially if it has been generated by a GUI-builder. I recommend you ditch the GUI-builder and throw together...
An ActionListener sounds like the way to go. Seems like an ActionListener is going to call your jButtonImportDataActionPerformed() method. If you already have a JDialog, you should just be able to...