@Override
public void paint(Graphics window) {
    window.setColor(Color.WHITE);
    window.fillRect(0, 0, 230, 370);
    window.setColor(Color.BLACK);
    window.drawRect(0,0,230,173);
    window.drawLine(115,0,115,173);
    window.drawRect(39,58,38,58); //Spot for armor
            if(equipped[0]!=null){window.drawImage(equipped[0].getPic(), 42, 61, 32,52,null);} 
    window.drawRect(5,68,29,48);//Left arm
            if(equipped[1]!=null){window.drawImage(equipped[1].getPic(), 8, 71, 23, 42,null );}
    window.drawRect(82,68 ,29,48);//Right arm
            if(equipped[2]!=null){window.drawImage(equipped[2].getPic(), 85,71, 23,42,null);}
    window.drawRect(39,117,38,15);//Belt
            if(equipped[3]!=null){window.drawImage(equipped[3].getPic(),42,120,32,10,null);}
    window.drawRect(39,135,38,30);//Boots
            if(equipped[4]!=null){window.drawImage(equipped[4].getPic(),42,138,32,24,null);}
    //bottom grid for items
    window.drawRect(5,180,220,180);
    window.drawLine(5, 216, 225, 216);
    window.drawLine(5, 252, 225, 252);
    window.drawLine(5, 288, 225, 288);
    window.drawLine(5, 324, 225, 324);
    window.drawLine(49, 180, 49, 360);
    window.drawLine(93, 180, 93, 360);
    window.drawLine(137, 180, 137, 360);
    window.drawLine(181, 180, 181, 360);
    a=7;
    for(x=0; x<5; x++)
    {
            b=182;
            for(y=0; y<5; y++)
            {
                    if(!(inven[x][y]==null))
                    {
                            window.drawImage(inven[x][y].getPic(), a, b, 40 , 32, null);
                    }

                    a+=36;
            }
            b+=44;
    }
}