Vacation timer label #3
1 changed files with 5 additions and 1 deletions
|
|
@ -32,10 +32,14 @@ public class CountdownController {
|
|||
g.setColor(color);
|
||||
g.fillRect(10, 5, 530, 75);
|
||||
|
||||
g.setColor(Color.white);
|
||||
g.setColor(Color.WHITE);
|
||||
g.setFont(new Font("Courier", Font.BOLD, 57));
|
||||
g.drawString(calculateTimeUntilThing(), 15, 60);
|
||||
|
||||
g.setColor(new Color(0xE4002B));
|
||||
g.setFont(g.getFont().deriveFont(46f));
|
||||
g.drawString("Vacation Timer!", 130, 135);
|
||||
|
||||
g.dispose();
|
||||
|
||||
return image;
|
||||
|
|
|
|||
Loading…
Reference in a new issue