Microsoft SDK for Java

setTopLevelWindowCreationAllowed

This method of the UIPermission Class sets the ability to create a top-level window. If flag is set to true, the permission object will indicate that top-level window creation is allowed; otherwise, it will indicate that top level window creation is not allowed.

Syntax

public void setTopLevelWindowCreationAllowed(boolean flag);

Parameters

flag The flag that indicates whether top-level window creation should be allowed.

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