Hi there I am working on an Java Swing application that performs a search on a database. It has 2 JDialog boxes that popup during the search.
The first tells the user that the search has started and has an OK button to close. The second tells the user that the search has returned and is also closed by hitting the OK button.
I there a way of closing the first JDialog box programatically, when the search returns, it's it will be pretty obvious that the seach was started by the time the search has returned.
Thanks.