Only allow to choose directory when choosing old code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1357 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2006-08-23 02:03:54 +00:00
parent 23e3b888dd
commit 35d5d932db
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ public final class FirstPanel extends JPanel implements ActionListener, ItemList
add(logScrollPane);
fc = new JFileChooser();
fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
}
fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
}
//---------------------------------------------------------------------------------------//