src/net/java/sip/communicator/impl/gui/main/call/DesktopSharingMouseAndKeyboardListener.java
/**
     * This method is called when remote control has been revoked.
     *
     * @param event The event which revokes us the control of the remote call
     * peer.
     */
This method is called when remote control has been revoked.
@param event The event which revokes us the control of the remote call
peer.
This method is called when remote control has been revoked . @param event The event which revokes us the control of the remote call peer .
public void remoteControlRevoked(RemoteControlRevokedEvent event)
    {
        synchronized(videoComponentMutex)
        {
            if(videoComponent != null)
            {
                videoComponent.removeKeyListener(this);
                videoComponent.removeMouseListener(this);
                videoComponent.removeMouseMotionListener(this);
            }
            if (callPeerRenderer != null)
            {
                callPeerRenderer.setDtmfToneEnabled(true);
            }
        }
    }
public void remoteControlRevoked ( RemoteControlRevokedEvent event ) { synchronized ( videoComponentMutex ) { if ( videoComponent != null ) { videoComponent . removeKeyListener ( this ) ; videoComponent . removeMouseListener ( this ) ; videoComponent . removeMouseMotionListener ( this ) ; } if ( callPeerRenderer != null ) { callPeerRenderer . setDtmfToneEnabled ( true ) ; } } }
This method is called when remote control has been revoked.
This method is called when remote control has been revoked .