I would like to create a series of new windows when I click labels containing information. I want these windows to be orphaned. Is there a way to pass a static variable to a class and tell it to keep monitoring the status of that variable?
Basically I want to say
NewOrphanedWindow.main(StaticClass.ValueToMonitorFromNowOn);
Is there a way to do this, or does it have to be programmed on the other side?
I basically want a window that will receive a variable String name and then use that variable String to reference the actual static variable.