setColor Java not working
<p>I'm following a tutorial for a simple game engine and for some reason setColor does not work when I try to fill a rectangle. I just get a blank white screen. I've looked at the other similar posts but none of them seemed to help me out. Here is the code:</p>

<pre><code>package com.binaryscythe.SA.main;

import java.awt.Canvas;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.image.BufferStrategy;

/**
* @author 4nd3r
*
*/
public class Game extends Canvas implements Runnable {
    private static final long serialVersionUID = -3472639816592189040L;

    public static final int WIDTH = 1920, HEIGHT = WIDTH / 16 * 9;  
    private Thread thread;
    private boolean running = false;

    private Handler handler;

    public Game() {
        new Window(WIDTH, HEIGHT, "Senum's Adventure", this);
        handler = new Handler();
    }

    public synchronized void start() {
        thread = new Thread(this);
        thread.start();
    }

    public synchronized void stop() {
        try {

        } catch(Exception e) {
            e.printStackTrace();
        }
    }

    public void run() {
        long lastTime = System.nanoTime();
        double amountOfTicks = 60.0;
        double ns = 100000000 / amountOfTicks;
        double delta = 0;
        long timer = System.currentTimeMillis();
        int frames = 0;
        while (running) {
            long now = System.nanoTime();
            delta += (now - lastTime) / ns;
            lastTime = now;
            while(delta &gt;= 1) {
                tick();
                delta--;
            }
            if (running)
                render();
            frames++;

            if (System.currentTimeMillis() - timer &gt; 1000) {
                timer += 1000;
                System.out.println("FPS: " + frames);
                frames = 0;
            }
        }
        stop();
    }

    private void tick() {
        handler.tick();
    }

    private void render() {
        BufferStrategy bs = this.getBufferStrategy();
        if(bs == null) {
            this.createBufferStrategy(3);
            return;
        }

        Graphics g = bs.getDrawGraphics();

        g.setColor(Color.black);
        g.fillRect(0, 0, WIDTH, HEIGHT);  

        handler.render(g);

        g.dispose();
        bs.show();
   }

   public static void main(String args[]) {
       new Game();
   }
}
</code></pre>