fc.setCurrentDirectory (new File (libPath));
fc.setCurrentDirectory (new File (appConfig.getLibPath()));
    protected JPanel makeCard1 ()    {        JPanel panel=new JPanel ();        panel.setLayout (new ColumnLayout ());        JLabel l1=new JLabel ("Patch Library Path: ");        JPanel p1=new JPanel ();        JLabel l2=new JLabel ("Sysex File Path:       ");        JPanel p2=new JPanel ();        JLabel l0=new JLabel ("Default Directories:");        t1.setEditable (false);        t2.setEditable (false);        JButton b1=new JButton ("Browse");        JButton b2=new JButton ("Browse");        b1.addActionListener (new ActionListener ()        {            public void actionPerformed (ActionEvent e)            {                JFileChooser fc=new JFileChooser ();                fc.setFileSelectionMode (JFileChooser.DIRECTORIES_ONLY);                fc.setCurrentDirectory (new File (libPath));                fc.setDialogTitle ("Choose Default Directory");                int returnVal = fc.showOpenDialog (null);                if (returnVal == JFileChooser.APPROVE_OPTION)                {                    File file = fc.getSelectedFile ();                    libPath=file.getAbsolutePath ();                    t1.setText (libPath);                }            }        });        b2.addActionListener (new ActionListener ()        {            public void actionPerformed (ActionEvent e)            {                JFileChooser fc=new JFileChooser ();                fc.setFileSelectionMode (JFileChooser.DIRECTORIES_ONLY);                fc.setCurrentDirectory (new File (sysexPath));                fc.setDialogTitle ("Choose Default Directory");                int returnVal = fc.showOpenDialog (null);                if (returnVal == JFileChooser.APPROVE_OPTION)                {                    File file = fc.getSelectedFile ();                    sysexPath=file.getAbsolutePath ();                    t2.setText (sysexPath);                }            }        });        p1.add (l1);        p2.add (l2);        p1.add (t1);        p2.add (t2);        p1.add (b1);        p2.add (b2);                panel.add (l0);        panel.add (p1);        panel.add (p2);        return panel;    }