Community
Participate
Working Groups
int imageWidth = tableAdapter.getItemImageWidth( i );
if( table.getColumnCount() > 0 ) {
int maxImageWidth
= bounds.width - ( ( imageBounds.x - checkWidth ) - bounds.x );
= Math.max( 0, bounds.width - ( ( imageBounds.x - checkWidth ) - bounds.x ) );
if( imageWidth > maxImageWidth ) {
imageWidth = maxImageWidth;
}