src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Handles file transfer status changed in order to remove completed file
     * transfers from the list of active transfers.
     * @param event the file transfer status change event the notified us for
     * the change
     */
Handles file transfer status changed in order to remove completed file
transfers from the list of active transfers.
@param event the file transfer status change event the notified us for
the change
Handles file transfer status changed in order to remove completed file transfers from the list of active transfers . @param event the file transfer status change event the notified us for the change
public void statusChanged(FileTransferStatusChangeEvent event)
    {
        FileTransfer fileTransfer = event.getFileTransfer();
        int newStatus = event.getNewStatus();
        if (newStatus == FileTransferStatusChangeEvent.COMPLETED
            || newStatus == FileTransferStatusChangeEvent.CANCELED
            || newStatus == FileTransferStatusChangeEvent.FAILED
            || newStatus == FileTransferStatusChangeEvent.REFUSED)
        {
            removeActiveFileTransfer(fileTransfer.getID());
            fileTransfer.removeStatusListener(this);
        }
    }
public void statusChanged ( FileTransferStatusChangeEvent event ) { FileTransfer fileTransfer = event . getFileTransfer ( ) ; int newStatus = event . getNewStatus ( ) ; if ( newStatus == FileTransferStatusChangeEvent . COMPLETED || newStatus == FileTransferStatusChangeEvent . CANCELED || newStatus == FileTransferStatusChangeEvent . FAILED || newStatus == FileTransferStatusChangeEvent . REFUSED ) { removeActiveFileTransfer ( fileTransfer . getID ( ) ) ; fileTransfer . removeStatusListener ( this ) ; } }
Handles file transfer status changed in order to remove completed file
 transfers from the list of active transfers.
Handles file transfer status changed in order to remove completed file transfers from the list of active transfers .