• Post Reply Bookmark Topic Watch Topic
  • New Topic

write to windows clipboard  RSS feed

 
Robert Jaeger
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to write text to the windows clipboard at the client-side (with a specific clipboard-format) for my student project.
I'm looking for a stable and secure way, using standard-VMs, compatible to Win32. Is there by the way a security-problem.
THX in advance for your tips / help
robert, from the heart of europe.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you discovered and tried
java.awt.Toolkit.getDefaultToolkit().getSystemClipboard() ;
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!