MIDletControllerEventProducer midletControllerEventProducer =
new MIDletControllerEventProducer(eventQueue,
amsIsolateId,
currentIsolateId);
ForegroundEventProducer foregroundEventProducer =
new ForegroundEventProducer(eventQueue);
midletProxyList = new MIDletProxyList(eventQueue);
// do all initialization for already created event-related objects ...
MIDletProxy.initClass(foregroundEventProducer, midletEventProducer);