private String getShapeString ( int [ ] shape ) { StringBuilder buf = new StringBuilder ( ) ; for ( int i = 0 ; i < shape . length ; i ++ ) { if ( i != 0 ) buf . append ( " " ) ; buf . append ( shape [ i ] ) ; } return buf . toString ( ) ; }
display name plus the dimensions