public void fillListWithFileInfoFromFileInfoList(JList list, ArrayList<MyFile> mfList) {
        DefaultListModel dlm = new DefaultListModel();
        for (int i = 0; i < mfList.size(); i++) {
            dlm.addElement(mfList.get(i));
        }
        list.setModel(dlm);
    }