question: private void updateAlias ( JLabel label , Alias alias ) { if ( alias != null ) { label . setText ( alias . getName ( ) ) ; String icon = alias . getIconName ( ) ; if ( icon != null ) { label . setIcon ( mSettingsManager . getImageIcon ( icon , SettingsManager . DEFAULT_ICON_SIZE ) ) ; } else { label . setIcon ( null ) ; } } else { label . setText ( "" ) ; label . setIcon ( null ) ; } }
target:  Updates the alias label with text and icon from the alias.  Note: this  does not occur on the Swing event thread -- wrap any calls to this method with an event thread call.