public void addCharPic(){
        ImageCreator charImg = null;
        try{
            if (player.getType().equalsIgnoreCase("Warrior")){
                charImg = new ImageCreator("WarriorMain.jpg");
                charImg.setBounds(150, 1, 200, 300);
            }
            else if (player.getType().equalsIgnoreCase("Marksman")){
                charImg = new ImageCreator("MarksmanMain.jpg");
                charImg.setBounds(50, 1, 250, 300);
            }
            else {
                charImg = new ImageCreator("SpellcasterMain.jpg");
                charImg.setBounds(120, 1, 200, 300);
            }
        }
        catch (NullPointerException ex){
            //Show Exception has been caught
            //System.out.println("Caught exception: " + ex);
        }
        mainInvent.add(charImg);
    }