question: void addLineMonitor ( LineMonitor lm ) { if ( Printer . trace ) Printer . trace ( "> EventDispatcher.addLineMonitor(" + lm + ")" ) ; synchronized ( lineMonitors ) { if ( lineMonitors . indexOf ( lm ) >= 0 ) { if ( Printer . trace ) Printer . trace ( "< EventDispatcher.addLineMonitor finished -- this monitor already exists!" ) ; return ; } if ( Printer . debug ) Printer . debug ( "EventDispatcher: adding line monitor " + lm ) ; lineMonitors . add ( lm ) ; } synchronized ( this ) { notifyAll ( ) ; } if ( Printer . debug ) Printer . debug ( "< EventDispatcher.addLineMonitor finished -- now (" + lineMonitors . size ( ) + " monitors)" ) ; }
target:  Add this LineMonitor instance to the list of monitors