public void paintComponent(Graphics g)
    {
        Graphics2D g2 = (Graphics2D) g;

        super.paintComponent(g2);
        if (grid == null)
            return;

        Insets insets = getInsets();
        g2.setColor(backgroundColor); 
        g2.fillRect(insets.left, insets.top, numCols * (cellSize + 1) + 1, numRows * (cellSize + 1) + 1);

        //code by Winston-Salem/Forsyth County School district teacher starts
        BufferedImage img = null;

        try
        {
            img = ImageIO.read(new File("currentMap.gif")); // the input in this line has been modified
        } catch (IOException e) {
        }
        g2.drawImage(img, insets.left, insets.top, numCols * (cellSize + 1) + 1, numRows * (cellSize + 1)
            + 1, 0, 0, img.getWidth(), img.getHeight(), null);
        //code by Winston-Salem/Forsyth County School district teacher stops

        //drawWatermark(g2);
        //drawGridlines(g2);
        drawOccupants(g2);
        //drawCurrentLocation(g2);
    }