My Oracle Support Banner

How to disable security warning triangle and Java Applet Window message on the window shown by an Applet (Doc ID 1437690.1)

Last updated on APRIL 28, 2021

Applies to:

Java Platform, Standard Edition - Version 6 to 7 [Release 6 to 7]
Information in this document applies to any platform.


Even if an applet is signed, window creations from LiveConnect or JavaScript will result in a window with security warning triangle and "Java Applet Window".  This document presents ways to suppress it.

[A sample screenshot of an applet with a yellow security warning triangle (in the red circle)]


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 1. In the applet code, wrap the code which opens new windows with AccessController.doPrivileged()
 2. Create the window in advance in Applet code.
 3. Add AWTPermission "showWindowWithoutWarningBanner" on client machine.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.