KeyListener not working In Internet Explorer

I made a small game

[url=http://sc4r.battleschool.frih.net]Play it here[/url]

It works fine in Firefox but the KeyListener doesn't work in Internet Explorer.

I include the applet with this code:

<!--[if !IE]>-->

<object classid="java:Shotgun.class"

type="application/x-java-applet"

id="ShotgunApplet" >

<!--<![endif]-->

<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"

id="ShotgunAppletIE" >

<param name="code" value="Shotgun" />

</object>

<!--[if !IE]>-->

</object>

<!--<![endif]-->

But also tried this:

<applet id='ShotgunApplet' code='Shotgun.class'></applet>

[url=http://sc4r.battleschool.frih.net/Shotgun.java]The full source code is available from here[/url]

Thanks in advance,

Frederik Vanderstraeten

[1227 byte] By [StubruFreaka] at [2007-10-2 10:35:43]
# 1
Solved Had to remove the e.consume(); in mousePressed()
StubruFreaka at 2007-7-13 2:38:05 > top of Java-index,Security,Event Handling...