getting a reference to every running gui component?
posted 15 years ago
I want to call SwingUtilities.updateComponentTreeUI(Component) on all of the components that are currently visible (JFrames and JPanels). Is there any way to keep track of this without implementing it manually? I just need a reference to every running window and I am wondering if swing provides this. Otherwise I will just write an event framework and have the gui components register themselves for events and update theirselves. anyone know? Thanks!