wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes how to redirect backspace key to some other function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to redirect backspace key to some other function" Watch "how to redirect backspace key to some other function" New topic
Author

how to redirect backspace key to some other function

danish shaikh
Greenhorn

Joined: Nov 09, 2004
Posts: 21
hi,

i m creating a textEditor,
i stuck in a module.
i want to include the 'track changes' facility as in MS-WORD 2003.
ie whenever i delete some text they will not physically erased, instead they the text shud be displayed in some other color, with strike out like v do on the notebook.

thanks in advace,
bye
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
"This forum is intended for questions and comments about this web site, www.javaranch.com.
It is not for questions about the Java language - that's what all our other forums are for."


42
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Indeed. Let's move this to the Swing/AWT forum.


[Jess in Action][AskingGoodQuestions]
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 804
This same question was posted in the Applets section. PLEASE DO NOT POST A QUESTION IN MULTIPLE FORUMS! YOU WASTE PEOPLES' TIME RESPONDING TO A POST THAT WAS PROBABLY ALREADY ANSWERED.


Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Geza Kovacs
Greenhorn

Joined: Nov 10, 2004
Posts: 4
Some readings: Keyboard Bindinds in Swing

Replacing the Backspace action:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to redirect backspace key to some other function
 
Similar Threads
Display problem in JFrame
Color text in JTextArea
how to hide some component using javascript
transfering focus to next component
Text File to JPG file conversion using Java