View Single Post
  #1 (permalink)  
Old 01-24-2008, 03:29 PM
sukatoa's Avatar
sukatoa sukatoa is offline
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
How to add a shortcut key from JTextArea
I would like to add action keys like ctrl S for save and etc...

I have no idea how to implement it...

I saw a thread here, button with a keystroke...
But, It uses only a button, with a focus in panel....

Can anyone show me an algorithm or implementation or guide in JTextArea with a shortcut key?

What built-in methods should i use?
Or anything that could help me implement with this one....


Java inspired,
Sukatoa.....
Reply With Quote
Sponsored Links