Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Detect copying file  RSS feed

 
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: 20893
81
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!