This method of the UIPermission Class determines whether the permission object indicates the ability to create file dialog boxes.
public boolean getFileDialogsAllowed();
Returns true if the permission object indicates the ability to create file dialog boxes; otherwise, returns false.