Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Actually i am making a Notepad and I have made mnemonics for the menus like "file -> f","edit ->e","search ->s" etc . Also I have applied Key listener to text area in the nootepad . In this Key listener I have overridden "keyTyped()" to check whether the text area is empty or even a single character has been typed in it . The problem which i am facing is whenever I press Alt+f to open the file menu , "f" gets written in the text area . Similarly whenever I press Alt+e to open edit menu , "e" gets written in the text area . The same problem is with other menus also . Kindly provide me a solution as soon as possible 'coz my project is pending due to thess problems . Replies:
|
Sponsored Links
|