private void loadImages() throws IOException
    {
        File folder = new File("images");
        
        if (!folder.exists() || !folder.isDirectory())
        {
            System.out.println("No images folder found, aborting test.");
            System.exit(0);
        }
        else
        {
            File[] images = folder.listFiles();
            for (int i = 0; i < images.length; i++)
            {
                if (images[i].exists() && !images[i].isDirectory())
                {
                    names.add(images[i].getName());
                    bufferedImages.add(ImageIO.read(images[i]));
                    acceleratedImages.add(new AcceleratedImage(images[i].getPath()));
                }
            }
        }
    }