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

Is there any way of getting an image from the system clipboard?  RSS feed

 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I managed to create my own clipboard, copy anything I like onto it, and paste it from there.
But...let's say I pressed PrintScreen, the resultant image is captured on the System Clipboard. I create my own clipboard and try to set it contents equal to that of the System Clipboard and it results in a NullPointerException. The previous problem with UnSupportedDataFlavor Exceptions has been cleared. But I still can't get anything other than strings and plain text from the System Clipboard.
Anyone have any ideas?]
Anil.
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've done no testing of this but, Have you tryed


[This message has been edited by Carl Trusiak (edited December 07, 2000).]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!