I have an awt application and I want to choose a directory there is a FileDalog but it chooses files only.
Is there in AWT something like filechooser in SWT?
Please I need your help
The AWT FileDialog doesn't support this concept. I think you have to stick with the Swing JFileDialog to be able to choose directories, or implement the AWT directory chooser yourself (extend the Dialog, get the list of files, filter out the directories, show them in a list box (or a tree-view) and enable to choose a directory.)
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.