The essence of things appears to be in having the AWTPermission with the target name 
"showWindowWithoutWarningBanner".  Signing an applet gives it AllPermission which 
accomplishes the same thing.  And, as noted, it's a security feature.  Wouldn't want 
to make it too easy for applets to masquerade as login windows, etc.

So, basically, you can do something non-portable by changing the permissions granted 
to all applets (which is a slight security risk on your own machine), but to make it 
work for everyone, signing is the least painful way for your end users.  Or, just live 
with the banner.

Joel

-----Original Message-----
From: Farwell, Paul [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2003 5:24 PM
To: 'Aleksandr Kravets'; Swing Forum
Subject: RE: JFrame question


The only way to get rid of the status bar message (that I am aware of) is to sign your 
applets. Sun has done this by design for any heavyweight window as a (reputed) 
security feature.

-----Original Message-----
From: Aleksandr Kravets [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 5:22 PM
To: Swing Forum
Subject: JFrame question


Hi,

When I call JFrame from my Applet, JFrame appears with a status bar saying 'Java 
Applet Window'. Is there a way to get rid off this status bar?

thanks,
Alex K

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to