fc.setCurrentDirectory (new File (libPath));
fc.setCurrentDirectory (new File (appConfig.getLibPath()));
            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);                }            }