JFileChooser fc = new JFileChooser();
fc.setCurrentDirectory(new java.io.File("."));
fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
fc.showOpenDialog(this);
jTextField1.setText(fc.getCurrentDirectory().toString());
desktop එකේ newfolder එකක් හදල තියෙනවා කියල හිතමු. ඉහත කෝඩ් එක මගින්...