public void playerUpdate(final Player p, final String event, final Object eventData) { // queue a call to updateEvent in the user interface event queue Display display = Display.getDisplay(midlet) display.callSerially(new Runnable() { public void run() { DRMPlayer.this.updateEvent(p, event, eventData) } }) }