Implementing accelerators
Dear All,
I am tying to implement accelerators for my JTextPane, but surprisingly, a few of them work while the others don't..... and i think I have noticed a pattern.................
All the accelerators that are already predefined don't seem to work..... and by work I mean call my actionPerformed function......
For example.... I tried to assign Ctrl-C .... to copy......... when I press Ctrl-C it does not call my action performed.. but rather the predefined default version...... whereas when I press the menuitem it does work......
could some one please explain..........
|