I've got a JList inside of a JDialog. When the user selects an item in the JList I would like the JDialog to close automatically instead of requiring the user the manually close the dialog box. Any ideas? Thanks in advance.
posted 17 years ago
The solution proved to be pretty trivial, all I had to do was call dispose on the dialog in the listener inner class.