private void loadImages()
    {
        final File imagesDirectory = new File(System.getProperty("user.dir") + "/res/images");
        List<ImageIcon> icons = new ArrayList<ImageIcon>();
        for (final File file : imagesDirectory.listFiles())
        {
            try
            {
                icons.add(new ImageIcon(ImageIO.read(file), file.getName()));
            } catch (IOException e)
            {
                e.printStackTrace();
            }
        }
        Collections.sort(icons, new FileNameComparator());
        for (Icon icon : icons)
        {
            images.add(icon);
        }
    }