|
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.....
|