0

Is there some kind of listener (and which will be the best to use) which triggers after the content pane of a JFrame is set?

So every time I call myJFrameClass.setContentPane(someJPanel) it will start doing some stuff?

I was wondering about ContainerListener or AncestorListener? but I'm really not sure about what should I use.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433

0 Answers0