public void setTimeAveBoxText( final TimeAveBox avebox )
{
StringBuffer linebuf;
Topology avebox_topo;
CategoryTimeBox[] typeboxes;
CategoryWeightF twgf;
String twgf_str;
int print_status;
int idx;
typeboxes = avebox.arrayOfCategoryTimeBoxes();
twgf = typeboxes[ 0 ].getCategoryWeightF();
avebox_topo = twgf.getCategory().getTopology();
// linebuf = new StringBuffer("Averaged Number of Real Drawables = ");
linebuf = new StringBuffer( "Averaged Number of Real " );
linebuf.append( avebox_topo + "s = " );
linebuf.append( nfmt.format( avebox.getAveNumOfRealObjects() ) );
if ( num_cols < linebuf.length() )
num_cols = linebuf.length();
num_rows++;
strbuf.append( "\n" + linebuf.toString() );
print_status = getPrintStatus( avebox_topo );
num_rows++;
strbuf.append( "\n" + CategoryWeightF.getPrintTitle(print_status) );
for ( idx = 0; idx < typeboxes.length; idx++ ) {
twgf = typeboxes[ idx ].getCategoryWeightF();
twgf_str = twgf.toInfoBoxString( print_status );
if ( num_cols < twgf_str.length() )
num_cols = twgf_str.length();
num_rows++;
strbuf.append( "\n" + twgf_str );
}