What is the proper approach for communicating between modules like multiple panels, frames etc…
I ask because I have a frame where I instantiate different panels and I need the panels to pass data between themselves as well as to the frame class. I’m a little lost because I see this as a hierarchy issue as shown below:
So this is what I’m seeing conceptually and need to share data/information between the panels (for example panel1 and panel2 as well as pass data “up” to the main frame class.
So far all I can think of is the enact queues/threads or pass an “object” reference/handle between them but that seems messy. Because I’m not a software engineer I am sure I’m missing something obvious.