• Post Reply Bookmark Topic Watch Topic
  • New Topic

Detect copying file

 
Udaya Wijenayake
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i copied a file in my system (using ctrl+c or right click) i want to detect its file name using a Java code. Is there any supporting class/method to do that ??
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out java.awt.datatransfer.Clipboard. In short:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!