Skip to content

xxDark/clipboard-agent

Repository files navigation

clipboard-agent

Fix of race condition on Windows in AWT.

Building

  • Execute gradlew build
  • Locate the file build/libs/clipboard-agent.jar

For NetBeans:

  • Navigate to your NetBeans install directory
  • Enter etc folder.
  • Open netbeans.conf
  • Add -J-javaagent:agent_dir/clipboard-agent.jar to netbeans_default_options.
  • To test that the agent works, it is recommended that you run NetBeans from the terminal the first time.

Normal log during agent initialization:

Patched sun.awt.datatransfer.SunClipboard
Patched sun.awt.windows.WClipboard
Applied the clipboard patch

About

Hack to fix sun.awt.windows.WClipboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages