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.
Joined: Mar 09, 2008
Sorry, I dont describe my question in detail. My project is a rcp project besides swt widgets. All the swt widgets should be run on the a viewpart ui or a dialog widget which belong among the rcp.