jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes JTextComponent keyStroke Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextComponent keyStroke" Watch "JTextComponent keyStroke" New topic
Author

JTextComponent keyStroke

David Blanc
Greenhorn

Joined: May 19, 2003
Posts: 1
on a component text, when I type "ctrl H", the text is erased letter by letter. I put an event "ctrl H" on a viewer (that functions) but if the component text has the focus, the text is erased. How disabled the event(ctrl H) of the component text.
thank's David
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTextComponent keyStroke
 
It's not a secret anymore!