This discussion is archived
0 Replies Latest reply: Oct 6, 2010 12:29 AM by 803363 RSS

EventQueueMonitor: guiInitialized is never called?

803363 Newbie
Currently Being Moderated
I invoke EventQueueMonitor functions to wait for GUI initialization.

if (EventQueueMonitor.isGUIInitialized()){
     registerListener();
} else {
     EventQueueMonitor.addGUIInitializedListener(this);
}

and:
public void guiInitialized() {
     registerListener();
}

This code place inside an java agent jar that will be load before any java app is loaded.
The problem is that, if the app is applet, and in some machine, guiInitialized() never get called.
I don't know whether this problem is due to java configuration differences on different machines.

Can anyone give me a clue?
Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points