@ Override public void afterInitialized ( BaseComponent comp ) { super . afterInitialized ( comp ) ; window = ( Window ) comp ; sessionId = ( String ) comp . getAttribute ( "id" ) ; lstParticipants . setRenderer ( new ParticipantRenderer ( chatService . getSelf ( ) , null ) ) ; model . add ( chatService . getSelf ( ) ) ; lstParticipants . setModel ( model ) ; clearMessage ( ) ; if ( comp . getAttribute ( "originator" ) != null ) { invite ( ( result ) - > { if ( ! result ) { close ( ) ; } else { initSession ( ) ; } } ) ; }
Initialize the dialog .