private boolean filterByCardSetCode(Card c) {
        boolean filterOut = false;
        String SC = "";

        if (!(searchSetCombo.getSelectedItem().toString().equals(""))) {
            SC = SetInfoUtil.getSetCode3_SetName(searchSetCombo.getSelectedItem().toString());

            boolean result = false;

            if (SetInfoUtil.getSetInfo_Code(c.getSets(), SC) != null) {
                c.setCurSetCode(SC);

                Random r = MyRandom.random;
                int n = SetInfoUtil.getSetInfo_Code(c.getSets(), SC).PicCount;
                if (n > 1)
                    c.setRandomPicture(r.nextInt(n - 1) + 1);

                result = true;
            }
            filterOut = !(result);
        } else {
            SC = c.getMostRecentSet();
            if (!SC.equals(""))
                c.setCurSetCode(c.getMostRecentSet());
        }

        c.setImageFilename(CardUtil.buildFilename(c));

        return filterOut;
    }