private Object[] createDataRow(RPObject item,int maxPreferredWidth){
  Object[] rval=new Object[3];
  rval[0]=getItemSprite(item);
  rval[1]=getFormattedPrice(item);
  StringBuilder html=new StringBuilder("<html><div width=");
  html.append(maxPreferredWidth - 170);
  html.append('>');
  String text=item.get("description_info");
  HTMLBuilder build=new HTMLBuilder();
  formatter.format(text,defaultAttrs,build);
  html.append(build.toHTML());
  html.append("</div></html>");
  rval[2]=html.toString();
  return rval;
}

private Object [ ] createDataRow ( RPObject item , int maxPreferredWidth ) { Object [ ] rval = new Object [ 3 ] ; rval [ 0 ] = getItemSprite ( item ) ; rval [ 1 ] = getFormattedPrice ( item ) ; StringBuilder html = new StringBuilder ( "<html><div width=" ) ; html . append ( maxPreferredWidth - 170 ) ; html . append ( '>' ) ; String text = item . get ( "description_info" ) ; HTMLBuilder build = new HTMLBuilder ( ) ; formatter . format ( text , defaultAttrs , build ) ; html . append ( build . toHTML ( ) ) ; html . append ( "</div></html>" ) ; rval [ 2 ] = html . toString ( ) ; return rval ; }
create a table data row from item data .
