private static void loadAllTheCardImagesFromFileNames(String[] cardImageFileNames, MediaTracker tracker) {
        String curDir = System.getProperty("user.dir");
        Image pic;
        
        for (int i=0; i < cardImageFileNames.length; i++) {
            pic = Toolkit.getDefaultToolkit().getImage(curDir + "/classic_cards/" + cardImageFileNames[i]);
            tracker.addImage(pic, i);
        }
        
        try {
            tracker.waitForAll();
            imagesHaveBeenLoaded = true;   
        } catch(java.lang.InterruptedException e) {
            
        }  
    }