aspose file tools*
The moose likes Ranch Office and the fly likes copy to clipboard is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "copy to clipboard is not working" Watch "copy to clipboard is not working" New topic
Author

copy to clipboard is not working

ankit maini
Greenhorn

Joined: Feb 08, 2011
Posts: 25

copy to clipboard is not working Please check .
Thanks
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19541
    
  16

Which browser are you using? Accessing the clipboard is blocked by some browsers; Opera for instance (my browser) doesn't support it at all. This is done because of security, to prevent malicious sites to copy and/or paste to/from the clipboard.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
ankit maini
Greenhorn

Joined: Feb 08, 2011
Posts: 25

Rob Spoor wrote:Which browser are you using? Accessing the clipboard is blocked by some browsers; Opera for instance (my browser) doesn't support it at all. This is done because of security, to prevent malicious sites to copy and/or paste to/from the clipboard.



I am using Firefox 4.0.1
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19541
    
  16

Firefox explicitly does not allow this by default. Perhaps you can turn it on, but I don't know how.

Apart from Opera and Firefox, Google Chrome also disallows accessing the clipboard by default. Internet Explorer 6 had no problems at all, Internet Explorer 9 now asks you for permission first.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11278
    
  59

One option is to click the "view plain" link, then copy the text from there.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: copy to clipboard is not working
 
Similar Threads
selectable text -> copy to clpboard
Copying cell value from JTable
Cut, copy, paste in unsigned apple
Clipboard functionality
Happy New Year! Welcome to our new forums!