public void importPatch(File file) throws IOException, FileNotFoundException { if (!checkSelected()) return;
public void importPatch(File file) throws IOException, FileNotFoundException {
    public void importPatch(File file) throws IOException, FileNotFoundException {        if (!checkSelected()) return;        FileInputStream fileIn = new FileInputStream(file);        byte [] buffer = new byte [(int) file.length()];        fileIn.read(buffer);        fileIn.close();        IPatch p = (DriverUtil.createPatch(buffer));        bankData.put(p, getSelectedPatchNum());        myModel.fireTableDataChanged();    }