Microsoft SDK for Java

checkAwtEventQueueAccess

This method of the StandardSecurityManager Class determines whether classes within the current execution context, based on the call stack of the current thread, are allowed to access the AWT event queue.

Syntax

public void checkAwtEventQueueAccess();

Remarks

The check succeeds only if all the classes found on the call stack possess UIPermissions, and those permissions allow access to the AWT event queue. This method overrides the java.lang.SecurityManager.checkAwtEventQueueAccess method.

Exceptions

SecurityException if the security check fails.

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