}
if (message instanceof VoiceChatJoinRequestMessage) {
logger.warning("Got VoiceChatJoinRequestMessage");
final IncomingCallHUDPanel incomingCallHUDPanel =
new IncomingCallHUDPanel(this, session, cell.getCellID(),
(VoiceChatJoinRequestMessage) message);
HUD mainHUD = HUDManagerFactory.getHUDManager().getHUD("main");
final HUDComponent incomingCallHUDComponent =
mainHUD.createComponent(incomingCallHUDPanel);
incomingCallHUDPanel.setHUDComponent(incomingCallHUDComponent);
incomingCallHUDComponent.setPreferredLocation(Layout.CENTER);
incomingCallHUDComponent.setIcon(voiceChatIcon);
mainHUD.addComponent(incomingCallHUDComponent);
incomingCallHUDComponent.addEventListener(new HUDEventListener() {
public void HUDObjectChanged(HUDEvent e) {
if (e.getEventType().equals(HUDEventType.DISAPPEARED)) {
incomingCallHUDPanel.busy();
}
}
});
incomingCallHUDComponent.setVisible(true);