KeyPress event controlling wrong component in JFrame

Printable View