# Java applet need help please look!

**URL:** <https://forum.kirupa.com/t/java-applet-need-help-please-look/288277>\
**Category:** Uncategorized\
**Created:** [May 13, 2009, 5:03pm UTC](https://forum.kirupa.com/t/java-applet-need-help-please-look/288277 "2009-05-13T17:03:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![denlranger](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@denlranger](https://forum.kirupa.com/u/denlranger)\
**Post date:** [May 13, 2009, 5:03pm UTC](https://forum.kirupa.com/t/java-applet-need-help-please-look/288277/1 "2009-05-13T17:03:39Z")

</div>

I am currently tying to make a java game in a applet but my keyboard function wont work do you have any idea? this is my function:

public boolean KeyDown(Event evt, int Key){  
if(Key == Event.RIGHT){  
x\_pos += rspeed;  
}else if(Key == Event.LEFT){  
x\_pos -= lspeed;  
}
