Font attrFont = new Font( "Arial", Font.PLAIN, 10 );
FontRenderContext frc = g2.getFontRenderContext();
if ( showDate && photo.getShootTime() != null ) {
FuzzyDate fd = new FuzzyDate( photo.getShootTime(), photo.getTimeAccuracy() );
String dateStr = fd.format();
TextLayout txt = new TextLayout( dateStr, attrFont, frc );
// Calculate the position for the text
Rectangle2D bounds = txt.getBounds();
int xpos = startx + ((int)(columnWidth - bounds.getWidth()))/2 - (int)bounds.getMinX();
g2.clearRect( xpos-2, ypos-2,