question: @ Override public void keyReleased ( KeyEvent e ) { char [ ] password1 = null ; char [ ] password2 = null ; if ( exportFilePasswordField != null ) { password1 = exportFilePasswordField . getPassword ( ) ; } if ( repeatExportFilePasswordField != null ) { password2 = repeatExportFilePasswordField . getPassword ( ) ; } boolean tickLabelVisible = false ; if ( password1 != null && password2 != null ) { if ( Arrays . equals ( password1 , password2 ) ) { tickLabelVisible = true ; } } tickLabel . setVisible ( tickLabelVisible ) ; clearMessages ( ) ; if ( password1 != null ) { for ( int i = 0 ; i < password1 . length ; i ++ ) { password1 [ i ] = 0 ; } } if ( password2 != null ) { for ( int i = 0 ; i < password2 . length ; i ++ ) { password2 [ i ] = 0 ; } } }
target:  Handle the key-released event from the text field. 