Originally posted by yu yong:
How can I catch the Ctrl_C or Ctrl_V event in the StyledText widget.
Which event listener should I use. KeyListener or anyone else.
Hm, sorry for my ignorance, but what is a StyledText widget? If it's part of the Swing standard jcomponents, then your best bet may be to use Key Bindings. There's a decent tutorial on this at the Sun
Java tutorials. HTH.