hi, could anybody help me wit an example(plz complete codes!!) of KeyPress events, say something like , an event to be executed on the key press event of the key 'R'. Tried to follow the syntax on the various Java sites , couldnt get it rite...Thanx.