src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Adds the given <tt>ChatHistoryListener</tt> to the list of listeners
     * notified when a change occurs in the history shown in this chat panel.
     *
     * @param l the <tt>ChatHistoryListener</tt> to add
     */
Adds the given ChatHistoryListener to the list of listeners
notified when a change occurs in the history shown in this chat panel.

@param l the ChatHistoryListener to add
Adds the given ChatHistoryListener to the list of listeners notified when a change occurs in the history shown in this chat panel . @param l the ChatHistoryListener to add
public void addChatHistoryListener(ChatHistoryListener l)
    {
        synchronized (historyListeners)
        {
            historyListeners.add(l);
        }
    }
public void addChatHistoryListener ( ChatHistoryListener l ) { synchronized ( historyListeners ) { historyListeners . add ( l ) ; } }
Adds the given <tt>ChatHistoryListener</tt> to the list of listeners
 notified when a change occurs in the history shown in this chat panel.
Adds the given <tt > ChatHistoryListener< / tt > to the list of listeners notified when a change occurs in the history shown in this chat panel .