private void fileActionPerformed(){
        final JFileChooser fc = new JFileChooser();
        int returnVal = fc.showOpenDialog(this);
        if (returnVal == JFileChooser.APPROVE_OPTION) {
            m.nactiSoubor(fc.getSelectedFile().getAbsolutePath(),this);
            this.dispose();
        }
    }