This method of the UIPermission Class determines whether the permission object indicates the ability to access the AWT event queue.
public boolean getEventQueueAccessAllowed();
Returns true if the permission object indicates the ability to access the AWT event queue.