This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
We need a way for a user of the Database Explorer to add a listener to a connection so they can be notified when the connection changes state (connected, disconnected). Right now we have ConnectionListener that lets you know when a connection has been added or removed from the explorer list. But there is no way to find out about connect/disconnect. Recommend an API to DatabaseConnection called addChangeListener(ChangeListener l) and removeChangeListener(ChangeListener l) that is then called when the connection is connected and disconnected. It would also be good to have a PropertyChangeListener for when properties of the connection change
I'm already adding an event listener mechanism as part of the explorer rewrite. I think this is what you're looking for.
Reassigned to new owner.
*** Bug 79408 has been marked as a duplicate of this bug. ***