>i have an applet and i want to bind an action if a key is pressed
>how can i do that
same as an application. See http://mindprod.com/jgloss/event11.html
or background and
http://mindprod.com/products1.html#KEYPLAY for sample code.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.