src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Adds all events accumulated in the incoming event buffer to the
     * chat conversation panel.
     */
Adds all events accumulated in the incoming event buffer to the
chat conversation panel.
Adds all events accumulated in the incoming event buffer to the chat conversation panel .
private void addIncomingEvents()
    {
        synchronized (incomingEventBuffer)
        {
            Iterator<Object> eventBufferIter = incomingEventBuffer.iterator();
            while(eventBufferIter.hasNext())
            {
                Object incomingEvent = eventBufferIter.next();
                if (incomingEvent instanceof ChatMessage)
                {
                    this.displayChatMessage((ChatMessage) incomingEvent);
                }
                else if (incomingEvent instanceof ChatConversationComponent)
                {
                    this.getChatConversationPanel()
                        .addComponent((ChatConversationComponent)incomingEvent);
                }
            }
        }
    }
private void addIncomingEvents ( ) { synchronized ( incomingEventBuffer ) { Iterator < Object > eventBufferIter = incomingEventBuffer . iterator ( ) ; while ( eventBufferIter . hasNext ( ) ) { Object incomingEvent = eventBufferIter . next ( ) ; if ( incomingEvent instanceof ChatMessage ) { this . displayChatMessage ( ( ChatMessage ) incomingEvent ) ; } else if ( incomingEvent instanceof ChatConversationComponent ) { this . getChatConversationPanel ( ) . addComponent ( ( ChatConversationComponent ) incomingEvent ) ; } } } }
Adds all events accumulated in the incoming event buffer to the
 chat conversation panel.
Adds all events accumulated in the incoming event buffer to the chat conversation panel .