Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Using java.awt.FileDialog for selecting both, files and folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using java.awt.FileDialog for selecting both, files and folders



Hi,

is there some setting to use java.awt.FileDialog in a mode that lets a
user select both, a file or a folder?

I have a wrapper now that uses the apple.awt.fileDialogForDirectories
property for cases I want just folders to be selectable. When I do not
set that property, the user can only select files. So I am looking for a
way to use the nice UI of FileDialog, but allow a user to select either
a file or a folder.

-Christian

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.