Microsoft SDK for Java

setWarningBanners

This method of the UIPermission Class sets the ability to display warning banners. 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 setWarningBanners(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.