if (cache.contains(iconName)) {
return cache.get(iconName);
}
Dimension size = tray.iconSize();
Colors colors = look.colors();
Canvas canvas = new Canvas(size);
canvas.fontSize((float) size.height * 0.58f);
canvas.paintGradient(colors.background());
canvas.drawBorder(colors.background().darker().darker().darker());
canvas.drawCentralizedText(time.shortestString());
cache.store(canvas.image(), iconName);
return canvas.image();