Added example class to demonstrate desired listener behaviour for panel
GUIs.