I have a database login window I open with a menu item (File/Connect). In that menu item, I have a listener that has visibility of my Connection Object. I would like to reference that connection object from another "panel" I create in the app with a call to a menu item (File/Open).
Anybody have any examples of how I can do that? ie, get to this connection app. In C++ I would reference a pointer to the main window app. Not sure how to do this here.