Microsoft SDK for Java

setEventQueueAccessAllowed

This method of the UIPermission Class sets the ability to access the AWT event queue. If flag is set to true, the permission object will indicate that access to the AWT event queue is allowed; otherwise, it will indicate that access to the AWT event queue is not allowed.

Syntax

public void setEventQueueAccessAllowed(boolean flag);

Parameters

flag The flag that indicates whether access to the AWT event queue should be allowed.

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