I've made a
Java text component that has stardard menu selection items cut, copy, paste, etc. Now I've connected each one to it's windows default ctrl <KEY> so like
CTRL C = copy
CTRL V = paste
CTRL X = cut
The problem I've ran into is that I want to make this compatible with all operating systems. Does anyone know a good way to do this?
The way I have it setup right now is that I emulated the clipboard operations. So when a CTRL V occurs I just go in and manually perform the paste myself. The problem with this is that on a Windows system you get the CTRL V that Windows uses and then the Paste that I wrote both pasting which leads to a double paste.
Any suggestions?
I was thinking if there was a way to disable Windows Text actions so it only uses my CTRL V.