question: public Component add ( Component comp , boolean rw ) { if ( comp instanceof WFLine ) { m_lines . add ( ( WFLine ) comp ) ; return comp ; } if ( comp instanceof WFNode ) { m_nodes . add ( ( WFNode ) comp ) ; comp . addMouseListener ( this ) ; if ( m_readWrite && rw ) comp . addMouseMotionListener ( this ) ; } return super . add ( comp ) ; }
target:  Add Component and add Mouse Listener