src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Passes the message to the contained <code>ChatConversationPanel</code>
     * for processing.
     *
     * @param contactName The name of the contact sending the message.
     * @param contactDisplayName the display name of the contact sending the
     * message
     * @param date The time at which the message is sent or received.
     * @param messageType The type of the message. One of OUTGOING_MESSAGE
     * or INCOMING_MESSAGE.
     * @param message The message text.
     * @param contentType the content type of the message (html or plain text)
     * @param messageId The ID of the message.
     *
     * @return a string containing the processed message.
     */
Passes the message to the contained ChatConversationPanel
for processing.

@param contactName The name of the contact sending the message.
@param contactDisplayName the display name of the contact sending the
message
@param date The time at which the message is sent or received.
@param messageType The type of the message.

@return a string containing the processed message.
Passes the message to the contained ChatConversationPanel for processing . @param contactName The name of the contact sending the message . @param contactDisplayName the display name of the contact sending the message @param date The time at which the message is sent or received . @param messageType The type of the message . @return a string containing the processed message .
private String processHistoryMessage(String contactName,
                                         String contactDisplayName,
                                         Date date,
                                         String messageType,
                                         String message,
                                         String contentType,
                                         String messageId)
    {
        ChatMessage chatMessage = new ChatMessage(
            contactName, contactDisplayName, date,
                messageType, null, message, contentType, messageId, null);
        String processedMessage =
            this.conversationPanel.processMessage(chatMessage,
                chatSession.getCurrentChatTransport().getProtocolProvider(),
                chatSession.getCurrentChatTransport().getName());
        if (chatSession instanceof ConferenceChatSession)
        {
            String tempMessage =
                conversationPanel.processMeCommand(chatMessage);
            if (tempMessage.length() > 0)
                processedMessage = tempMessage;
        }
        return processedMessage;
    }
private String processHistoryMessage ( String contactName , String contactDisplayName , Date date , String messageType , String message , String contentType , String messageId ) { ChatMessage chatMessage = new ChatMessage ( contactName , contactDisplayName , date , messageType , null , message , contentType , messageId , null ) ; String processedMessage = this . conversationPanel . processMessage ( chatMessage , chatSession . getCurrentChatTransport ( ) . getProtocolProvider ( ) , chatSession . getCurrentChatTransport ( ) . getName ( ) ) ; if ( chatSession instanceof ConferenceChatSession ) { String tempMessage = conversationPanel . processMeCommand ( chatMessage ) ; if ( tempMessage . length ( ) > 0 ) processedMessage = tempMessage ; } return processedMessage ; }
Passes the message to the contained <code>ChatConversationPanel</code>
 for processing.
Passes the message to the contained <code > ChatConversationPanel< / code > for processing .