 String ChTitle = "Save Downloads";
            FCh= new JFileChooser() ;  
            FCh.setCurrentDirectory( new java.io.File("."));
           FCh.setDialogTitle(ChTitle);
         FCh.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
           FCh.setAcceptAllFileFilterUsed(false);
           File f = FCh.getCurrentDirectory();
           String v= f.getPath();
           String s= FCh.getCurrentDirectory()+"";
           text2.setText(s);text1.setText(v);
            if(FCh.showDialog(MeDownloadeR.this, "Open") ==JFileChooser.APPROVE_OPTION){
          // JOptionPane.showMessageDialog(null, "getcorrent Directory");   
           }else{
               JOptionPane.showMessageDialog(null, "no select Directory");
           }
          