src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Passes the message to the contained <code>ChatConversationPanel</code>
     * for processing and appends it at the end of the conversationPanel
     * document.
     *
     * @param contactName the name of the contact sending the message
     * @param displayName the display name of the contact
     * @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
     */
Passes the message to the contained ChatConversationPanel
for processing and appends it at the end of the conversationPanel
document.

@param contactName the name of the contact sending the message
@param displayName the display name of the contact
@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
Passes the message to the contained ChatConversationPanel for processing and appends it at the end of the conversationPanel document . @param contactName the name of the contact sending the message @param displayName the display name of the contact @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
public void addMessage(String contactName, String displayName, Date date,
            String messageType, String message, String contentType,
            String messageUID, String correctedMessageUID)
    {
        ChatMessage chatMessage = new ChatMessage(contactName, displayName,
                date, messageType, null, message, contentType,
                messageUID, correctedMessageUID);
        this.addChatMessage(chatMessage);
        fireChatHistoryChange();
    }
public void addMessage ( String contactName , String displayName , Date date , String messageType , String message , String contentType , String messageUID , String correctedMessageUID ) { ChatMessage chatMessage = new ChatMessage ( contactName , displayName , date , messageType , null , message , contentType , messageUID , correctedMessageUID ) ; this . addChatMessage ( chatMessage ) ; fireChatHistoryChange ( ) ; }
Passes the message to the contained <code>ChatConversationPanel</code>
 for processing and appends it at the end of the conversationPanel
 document.
Passes the message to the contained <code > ChatConversationPanel< / code > for processing and appends it at the end of the conversationPanel document .
// A bug Fix for Previous/Next buttons . // Must update buttons state after message is processed // otherwise states are not proper