I am using javax.help API to build help screens for my application. Everything is working fine now I have a requirement to dispose the help window on escape key. As soon as the help icon is clicked I am delegating the ActionEvent to CSH.DisplayHelpFromSource. Now I need the help window in my hand to add keylistener and dispose it on escape. Can anyone pleae help me out.