src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Adds the given <tt>IncomingFileTransferRequest</tt> to the conversation
     * panel in order to notify the user of the incoming file.
     *
     * @param fileTransferOpSet the file transfer operation set
     * @param request the request to display in the conversation panel
     * @param date the date on which the request has been received
     */
Adds the given IncomingFileTransferRequest to the conversation
panel in order to notify the user of the incoming file.

@param fileTransferOpSet the file transfer operation set
@param request the request to display in the conversation panel
@param date the date on which the request has been received
Adds the given IncomingFileTransferRequest to the conversation panel in order to notify the user of the incoming file . @param fileTransferOpSet the file transfer operation set @param request the request to display in the conversation panel @param date the date on which the request has been received
public void addIncomingFileTransferRequest(
        final OperationSetFileTransfer fileTransferOpSet,
        final IncomingFileTransferRequest request,
        final Date date)
    {
        if(!SwingUtilities.isEventDispatchThread())
        {
            SwingUtilities.invokeLater(new Runnable()
            {
                public void run()
                {
                    addIncomingFileTransferRequest(
                        fileTransferOpSet, request, date);
                }
            });
            return;
        }
        this.addActiveFileTransfer(request.getID(), request);
        ReceiveFileConversationComponent component
            = new ReceiveFileConversationComponent(
                this, fileTransferOpSet, request, date);
        if (ConfigurationUtils.isHistoryShown() && !isHistoryLoaded)
        {
            synchronized (incomingEventBuffer)
            {
                incomingEventBuffer.add(component);
            }
        }
        else
            this.getChatConversationPanel().addComponent(component);
    }
public void addIncomingFileTransferRequest ( final OperationSetFileTransfer fileTransferOpSet , final IncomingFileTransferRequest request , final Date date ) { if ( ! SwingUtilities . isEventDispatchThread ( ) ) { SwingUtilities . invokeLater ( new Runnable ( ) { public void run ( ) { addIncomingFileTransferRequest ( fileTransferOpSet , request , date ) ; } } ) ; return ; } this . addActiveFileTransfer ( request . getID ( ) , request ) ; ReceiveFileConversationComponent component = new ReceiveFileConversationComponent ( this , fileTransferOpSet , request , date ) ; if ( ConfigurationUtils . isHistoryShown ( ) && ! isHistoryLoaded ) { synchronized ( incomingEventBuffer ) { incomingEventBuffer . add ( component ) ; } } else this . getChatConversationPanel ( ) . addComponent ( component ) ; }
Adds the given <tt>IncomingFileTransferRequest</tt> to the conversation
 panel in order to notify the user of the incoming file.
Adds the given <tt > IncomingFileTransferRequest< / tt > to the conversation panel in order to notify the user of the incoming file .