question: public void paintValue ( java . awt . Graphics gfx , java . awt . Rectangle box ) { FontMetrics fm = gfx . getFontMetrics ( ) ; int vpad = ( box . height - fm . getHeight ( ) ) / 2 ; File f = ( File ) getValue ( ) ; String val = "No file" ; if ( f != null ) { val = f . getName ( ) ; } gfx . drawString ( val , 2 , fm . getHeight ( ) + vpad ) ; }
target:  Paints a representation of the current Object.