public static void loadAndSetUpAllCardImages(JComponent theJPanelInstance) {  
        imagesHaveBeenLoaded = false;
        
        MediaTracker tracker = new MediaTracker(theJPanelInstance);
        
        cardImageFileNames = getArrayOfCardFileNames();
        loadAllTheCardImagesFromFileNames(cardImageFileNames, tracker);
        
        String curDir = System.getProperty("user.dir");
        String pathName = curDir + "/classic_cards/";
        
        Image singlePic = Toolkit.getDefaultToolkit().getImage(pathName + cardImageFileNames[0]);
        singleCardDimension = new Dimension(singlePic.getWidth(theJPanelInstance), singlePic.getHeight(theJPanelInstance));
    }