src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Adds the given {@link DocumentListener} to this <tt>Chat</tt>.
     * The <tt>DocumentListener</tt> is used to inform other bundles when a user has
     * modified the document in the chat editor area.
     *
     * @param l the <tt>DocumentListener</tt> to add
     */
Adds the given  DocumentListener to this Chat.
The DocumentListener is used to inform other bundles when a user has
modified the document in the chat editor area.

@param l the DocumentListener to add
Adds the given DocumentListener to this Chat . The DocumentListener is used to inform other bundles when a user has modified the document in the chat editor area . @param l the DocumentListener to add
public void addChatEditorDocumentListener(DocumentListener l)
    {
        this.getChatWritePanel().getEditorPane()
            .getDocument().addDocumentListener(l);
    }
public void addChatEditorDocumentListener ( DocumentListener l ) { this . getChatWritePanel ( ) . getEditorPane ( ) . getDocument ( ) . addDocumentListener ( l ) ; }
Adds the given {@link DocumentListener} to this <tt>Chat</tt>.
Adds the given { @link DocumentListener } to this <tt > Chat< / tt > .