Reputation: 387
Copy from browser paste to netbeans not working. How could this be happen? When I try to paste notepad, it is working, but when try to netbeans it is not working? I am in shock
Upvotes: 30
Views: 27732
Reputation: 35
Upvotes: -2
Reputation: 1
Stop NB and run NB with Administrator privilege, it works!
Upvotes: -1
Reputation: 62
I'm facing the same problem. If you use cut (ctrl+x) and paste (ctrl+v) instead of copy (ctrol+c) it works.
Upvotes: 3
Reputation: 972
It looks like the NetBeans IDE assumes that what a developer does with other applications (clipboard operations) is not relevant to NB. The only time that NB does not apply this assumption is when the clipboard is empty. The NB clipboard must first be emptied by cutting or copying nothing (similar to previously posted answers). There is no menu item; there is no shortcut to clear the NB clipboard.
This problem still applies to NB 12.0 as of 2021/5/18.
Upvotes: 20
Reputation: 409
Try to make an empty copy (Ctrl+C without selection) within Netbeans and then try again to perform copying from browser or another application. It works for me after many solutions I tried.
This bug report also suggests adding
-J-Dnetbeans.slow.system.clipboard.hack=false
to the netbeans_default_options
in netbeans.conf
, but it did not work for me.
Upvotes: 30
Reputation: 71
Selecting text and dragging into the Netbeans still works if you are lazy to restart.
Upvotes: 7
Reputation: 528
This Problem is known for over 10 years now and still not fixed.
See https://netbeans.org/bugzilla/show_bug.cgi?id=88161
Workaround: Restart the IDE.
Upvotes: 22