Added a vacation timer label
This commit is contained in:
parent
e5884e0a69
commit
ffc3b2415f
1 changed files with 5 additions and 1 deletions
|
|
@ -34,10 +34,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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue