Microsoft SDK for Java

setFileDialogsAllowed

This method of the UIPermission Class sets the ability to use file dialog boxes. If flag is set to true, the permission object will indicate that top-level windows require warning banners; otherwise, it will indicate that top-level windows do not require warning banners.

Syntax

public void setFileDialogsAllowed(boolean flag);

Parameters

flag The flag that indicates whether top-level windows should require warning banners.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.