question: private void addAboutItem ( JComponent c , String name , Object val , Border border ) { String v = val != null ? val . toString ( ) : "n/a" ; String tip = String . format ( "<html><b>%s</b> &#10159; %s</html>" , name , val ) ; JLabel lb = new JLabel ( name ) ; lb . setToolTipText ( tip ) ; JLabel field = new JLabel ( v ) ; field . setOpaque ( true ) ; field . setBackground ( Color . WHITE ) ; field . setBorder ( BorderFactory . createCompoundBorder ( BorderFactory . createLineBorder ( VALUE_BORDER_COLOR , 1 ) , BorderFactory . createEmptyBorder ( 0 , 3 , 0 , 3 ) ) ) ; field . setToolTipText ( tip ) ; if ( border != null ) field . setBorder ( border ) ; c . add ( lb , gbcLicenseLabel ( ) ) ; c . add ( field , gbcLicenseField ( ) ) ; }
target:  Add name and value labels.