22

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

devrim
  • 307
  • 1
  • 3
  • 8

7 Answers7

24

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.

jpnadas
  • 774
  • 6
  • 17
18

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.

Markus Brüderl
  • 478
  • 4
  • 4
15

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.

Richard Jessop
  • 897
  • 1
  • 12
  • 19
7

Selecting text and dragging into the Netbeans still works if you are lazy to restart.

3

I'm facing the same problem. If you use cut (ctrl+x) and paste (ctrl+v) instead of copy (ctrol+c) it works.

DharmanBot
  • 1,066
  • 2
  • 6
  • 10
Ivan
  • 62
  • 2
-1

Stop NB and run NB with Administrator privilege, it works!

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Oct 14 '22 at 13:44
-2
  1. Press Windows+R
  2. type %appdata%
  3. Go to local folder in AppData (you might be in Roaming folder go back one)
  4. Go to Netbeans folder
  5. And delete Cache folder.
yugsolanki
  • 35
  • 2