void refreshCaptions ( ) { email . setCaption ( lp . l ( "user.email.caption" ) ) ; password . setCaption ( lp . l ( "user.password.caption" ) ) ; login . setCaption ( lp . l ( "loginform.button.caption" ) ) ; }
Since the language can be changed while this form is displayed we need a method to refresh the captions