I had the exact same problem. I would RDP into my work computer to work in NetBeans and pasting would not work. I found a simple, although annoying, workaround: before pasting, switch to another application like Notepad or whatever you happen to have open, then switch back to NetBeans. That's all. You don't have to paste into the other app, just switch to it and switch back, then you'll get the current clipboard data... at least I do.
I also use Chrome but have not noticed that it makes a difference if it is open or not. Although if you close it before pasting, you have switched to another window and then the paste will work... but of course that will work if you close any other program.
Yea considered posting on SuperUser. Asked at SO since it was specific to Netbeans and no other application (even Java applications). Developers know NB better than sysops. – Freiheit – 2010-04-06T17:39:25.850
Just for the records. In a OSX single desktop environment, Netbeans doesn't catch the info from a Clipboard history manager I use. It gets stuck with the last item, I have to switch to another app, paste (yes, the item is already in memory), go back and paste. – brasofilo – 2013-01-06T23:35:48.103
Amending my previous comment: it's only a matter of switching to another app, go back to Netbeans and the history works. Seems that if we copy something inside it, it gets stuck with that clipboard item, the switch does the trick of updating its "memory". – brasofilo – 2013-01-07T00:29:53.750