private void initialize ( ) { this . setText ( Constant . messages . getString ( "sites.resend.popup" ) ) ; this . addActionListener ( new java . awt . event . ActionListener ( ) { @ Override public void actionPerformed ( java . awt . event . ActionEvent evt ) { if ( treeSite != null ) { SiteNode node = ( SiteNode ) treeSite . getLastSelectedPathComponent ( ) ; ManualRequestEditorDialog dialog = extension . getResendDialog ( ) ; HistoryReference ref = node . getHistoryReference ( ) ; HttpMessage msg = null ; try { msg = ref . getHttpMessage ( ) . cloneRequest ( ) ; dialog . setMessage ( msg ) ; dialog . setVisible ( true ) ; } catch ( HttpMalformedHeaderException | DatabaseException e ) { logger . error ( e . getMessage ( ) , e ) ; } } } } ) ; }
This method initialises this