public void setLanguage ( Language language ) { this . language = language ; this . label . setText ( language . getName ( ) ) ; this . image . setUrl ( language . getImage ( ) ) ; }
Update the ui for the name and image components .