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 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 title the title of the 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 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 title the title of the 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 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 title the title of the message @param message the message text @param contentType the content type
public void addMessage(String contactName, Date date,
            String messageType, String title, String message, String contentType)
    {
        ChatMessage chatMessage = new ChatMessage(contactName, date,
            messageType, title, message, contentType);
        this.addChatMessage(chatMessage);
    }
public void addMessage ( String contactName , Date date , String messageType , String title , String message , String contentType ) { ChatMessage chatMessage = new ChatMessage ( contactName , date , messageType , title , message , contentType ) ; this . addChatMessage ( chatMessage ) ; }
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 .