FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


[Solved] [Java] KeyListener Not Working In Internet Explorer





Stubru Freak
I made a small game

Play it here

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

I include the applet with this code:

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:

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


The full source code is available from here

Thanks in advance,
Frederik Vanderstraeten


--- Solved ---

Had to remove the e.consume(); in mousePressed()
Related topics
*OFFICIAL* Which Browser do you use?
(official) IE 7 Topic
Internet Explorer 7 sera mejor ?
[soft]Firefox más inseguro que IE
Internet Explorer 7 is coming!!!
problem with internet explorer
I don`t succeed to connect to FTP
Internet Explorer 7 Beta 2 Preview
Internet Explorer 7 (beta 2 preview)
My Internet Explorer keeps crushing.
Support Internet Explorer
So you're STILL using Internet Explorer?? Patch it!
[CSS] Height property in Internet Explorer
Input Button's - Internet Explorer
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.