• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting a reference to every running gui component?

 
Chrissy Simpson
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!