Vacation timer label #3

Merged
redphoenix9123 merged 2 commits from vacation-timer-label into master 2022-08-03 02:47:36 +00:00

View file

@ -32,10 +32,14 @@ public class CountdownController {
g.setColor(color); g.setColor(color);
g.fillRect(10, 5, 530, 75); g.fillRect(10, 5, 530, 75);
g.setColor(Color.white); g.setColor(Color.WHITE);
g.setFont(new Font("Courier", Font.BOLD, 57)); g.setFont(new Font("Courier", Font.BOLD, 57));
g.drawString(calculateTimeUntilThing(), 15, 60); g.drawString(calculateTimeUntilThing(), 15, 60);
g.setColor(new Color(0xE4002B));
g.setFont(g.getFont().deriveFont(46f));
g.drawString("Vacation Timer!", 130, 135);
g.dispose(); g.dispose();
return image; return image;