private void createMap()
    {
        int c;
        String s = "";
        
        for(int i = 0; i < width; i++)
        {
            for(int j = 0; j < height; j++)
            {
                mapView[i][j] = new JLabel();
                c = gameMap[i][j];
                
                if(c == 0)
                    mapView[i][j].setIcon(new ImageIcon(getClass().getResource(wall)));
                if(c == 2)
                    mapView[i][j].setIcon(new ImageIcon(getClass().getResource(floorFull)));
                if(c == 3)
                    mapView[i][j].setIcon(new ImageIcon(getClass().getResource(floorEmpty)));
                if(c == 4)
                    mapView[i][j].setIcon(new ImageIcon(getClass().getResource(badGuy)));
                if(c == 5)
                    mapView[i][j].setIcon(new ImageIcon(getClass().getResource(heroR)));
                
                content.add(mapView[i][j]);
            }
        }
    }