private void loadImages() {
        try {
            bgImage = ImageIO.read(getClass().getResource("/tetris.png"));

            // Draw blocks background
            Graphics2D gg = (Graphics2D) bgImage.getGraphics();
            for (int x = 0; x < model.getColumns(); x++) {
                for (int y = 0; y < model.getRows(); y++) {
                    if ((x % 2 == 0 && y % 2 == 1) || (x % 2 == 1 && y % 2 == 0)) {
                        gg.setColor(new Color(26, 26, 26));
                    } else {
                        gg.setColor(new Color(36, 36, 36));
                    }
                    gg.fillRoundRect((x * BLOCK_SIZE) + 1 + OFFSET_LEFT, (y * BLOCK_SIZE) + 1
                            + OFFSET_TOP, BLOCK_SIZE - 2, BLOCK_SIZE - 2, 2, 2);
                }
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }