final String childrenToString(final WComponent... children) {
		if (!(this instanceof Container)) {
			return "";
		}

		if (children == null || children.length == 0) {
			return "[]";
		}

		StringBuffer buf = new StringBuffer("\n[");

		for (int i = 0; i < children.length; i++) {
			buf.append(i == 0 ? "\n   " : ",\n   ");
			buf.append(children[i].toString().replaceAll("\n", "\n   "));
		}

		buf.append("\n]");
		return buf.toString();
	}
final String childrenToString ( final WComponent ... children ) { if ( ! ( this instanceof Container ) ) { return "" ; } if ( children == null || children . length == 0 ) { return "[]" ; } StringBuffer buf = new StringBuffer ( "\n[" ) ; for ( int i = 0 ; i < children . length ; i ++ ) { buf . append ( i == 0 ? "\n   " : ",\n   " ) ; buf . append ( children [ i ] . toString ( ) . replaceAll ( "\n" , "\n   " ) ) ; } buf . append ( "\n]" ) ; return buf . toString ( ) ; }
Creates a String representation of a single child component to use with {@link #toString()}..

@param children the children to output
@return a String representation of the given component.