| Hi..
 
 I have an annoying problem in a Swing based application framework, I am
 working on, and hope some have a useful hint.
 
 The way the clipboard enabling/disabling works, is that when keyboard
 focus changes, I ask the ActionMap focused component which of the
 copy/cut/paste operations are on the ActionMap. If the given clipoard
 aciton is on the map, I enable the action, otherwise I disable it.
 
 The given problem is that when a JTextArea is focused, the Cut action is
 obviously supported, since the user can cut with the usual CTRL-X
 keybinding, however the Cut Action is NOT in the ActionMap, and
 therefore I disable the Action. Works fine with copy/paste, since these
 are on the ActionMap. Could some kind soul tell me the difference... WHY
 WHY WHY is the cut action on on the JTextAreas ActionMap?
 
 Kindest Regards
 Mikael Flensborg (CLC bio)
 
 
 |