pars boundari box rectangl repres syntax integ separ space comma ignor lead trail blank code code fail pars code code print rude messag size box code code bound invalid rectangl pars box fig target panel target text field don field bbox str bbox field text trim bbox str length pars possibl rectangl re rectangl java util token st java util token bbox str chang st token target bound re integ pars st token st token re target bound re width target bound width re height target bound height re re integ pars st token st token re width target bound width re height target bound height re re width integ pars st token todo doe magic number repres explanatori liter tfm re width re re width re chang st token re width target bound width re re height integ pars st token todo doe magic number repres explanatori liter tfm re height re re height re chang re re todo except thrown autoscrol edg canva reach caus width height adjust neg valu defin log lp log granular type statement lp log local nest statement log warn bound box screen re endif re width re height todo except thrown autoscrol edg canva reach caus width height adjust neg valu illeg argument except bound box neg size re chang buffer sb buffer sb append integ re sb append sb append integ re sb append sb append integ re width sb append sb append integ re height bbox field set text sb number format except ex bbox field set background color red illeg argument except iae bbox field set background color red bbox field set background re 