how to add a JFrame listener for a JPanel

Printable View