This exercise is to demonstrate Key Event. Key events enables the use of keys to control and perform actions. A key event is fired whenever a key is pressed, released or typed on a component.
Exercise: Write a program prints the character key pressed on a panel and help move it using the arrow keys
Download Code: Key Event