void (Graphics g, ThumbnailComponent tc) { ImageComponent imageComponent = tc.getImageComponent(); int blankHeight = ImagesIcons.ThumbnailBlank.getIconHeight(); if (imageComponent.isFileSizeVisible()) { // Paint image info (and reduce height of text from available height) blankHeight -= paintImageCaps(g, imageComponent); // Paint image format (and reduce height of text from available height) blankHeight -= paintFormatText(tc, g); } // Paint image paintThumbnail(g, imageComponent, blankHeight); }