src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Copies either the selected write area content or the selected
     * conversation panel content to the clipboard.
     */
Copies either the selected write area content or the selected
conversation panel content to the clipboard.
Copies either the selected write area content or the selected conversation panel content to the clipboard .
public void copy()
    {
        JTextComponent textPane = this.conversationPanel.getChatTextPane();
        if (textPane.getSelectedText() == null)
            textPane = this.writeMessagePanel.getEditorPane();
        textPane.copy();
    }
public void copy ( ) { JTextComponent textPane = this . conversationPanel . getChatTextPane ( ) ; if ( textPane . getSelectedText ( ) == null ) textPane = this . writeMessagePanel . getEditorPane ( ) ; textPane . copy ( ) ; }
Copies either the selected write area content or the selected
 conversation panel content to the clipboard.
Copies either the selected write area content or the selected conversation panel content to the clipboard .