"Java Applet Window" on tooltips?

(Please excuse my login name, I was having a bad day when I signed up)

I'm developing an applet that uses the 1.4.1 plugin. It contains a JToolBar populated with JButtons and JComboBoxes. It works great except for the fact that *every* popup component (jcomboboxes, jpopupmenus, jtooltips(!)) has "Java Applet Window" appended below the component.

Should this be happening? It looks completely ridiculous. I've duplicated this on a number of machines (Win2K and WinXP) and browsers (IE6, NS6, NS4). I'm using the default system look and feel if it matters. Metal L&F doesn't seem to have any problems.

Sorry, the source is too large to post, but I've never seen this before when developing applets. Any ideas?

Thanks,

Gary

[771 byte] By [dipshitsa] at [2007-9-28 1:47:47]
# 1

Hi,

it is possible to remove this "Java Applet Window" stuff by modifying the security rules allowed to your applet.

One solution could be to modify the java.policy file (c:\\Program Files\JavaSoft\JRE\1.4.1\lib\security\java.policy) by adding :

grant "http://www.myServer/myClassFileFolder/-" {

permission java.awt.AWTPermission "showWindowWithoutWarningBanner";

};

If it works, then you have to see the java security subjects about deployment of java applets.

I hope this will help u.

Mindfielda at 2007-7-7 21:20:42 > top of Java-index,Security,Other Security APIs, Tools, and Issues...