public void setStatusBarMessage ( final String message ) { // Guaranteed to return a non-null array Object [ ] listeners = listenerList . getListenerList ( ) ; // Process the listeners last to first, notifying // those that are interested in this event for ( int i = listeners . length - 2 ; i >= 0 ; i -= 2 ) { if ( listeners [ i ] == StatusMessageListener . class ) { ( ( StatusMessageListener ) listeners [ i + 1 ] ) . statusMessageReceived ( message ) ; } } }
Set a status message in the JTextComponent passed to this model .