public void removeFilterMessageListener ( JMessageListener listener ) { if ( listener == null ) return ; // Never if ( m_vListenerList == null ) return ; // Never for ( int i = 0 ; i < m_vListenerList . size ( ) ; i ++ ) { if ( m_vListenerList . get ( i ) == listener ) m_vListenerList . remove ( i ) ; // Does this work? } listener . removeListenerMessageFilter ( this ) ; }
Set the message listener .