Dimension function ( Component arg0 , String arg1 ) { FontMetrics loc0 = arg0 . getFontMetrics ( arg0 . getFont ( ) ) ; int loc1 = loc0 . getHeight ( ) ; int loc2 = loc0 . stringWidth ( arg1 ) ; return new Dimension ( loc2 + 2 , loc1 + 2 ) ; }
returns the size of the given text computed towards to the given component . concode_field_sep PlaceHolder placeHolder concode_field_sep void updateComponentTreeUI0 concode_elem_sep void updateComponentTreeUI concode_elem_sep int getStringWidth concode_elem_sep int getComponentIndex concode_elem_sep int getStringHeight concode_elem_sep Rectangle2D getDefaultStringSize