How i can stop PrintScreen Command when My Applet is running.
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   nikunj_jhala
Posted On:   Wednesday, June 27, 2007 03:43 AM

Hi, I have done my JApplet code & added to web Html WebPage. now i want to stop some to take my website images by pressing PRINTSCREEN. I have implements LeyListener to my Applet, in KeyPressEvent - I have written code - if(event.getKeyCode() == KeyEvent.VK_PRINTSCREEN) { JOptionPane.showMessageDialog(null,"Don't Press PrinScreen Key, Not Have Permission"); } but not work. allow to do that. even in KeyPress - I have written - System.out.println("Key:" + evene.getKeyCode()); but will not display when any key press event execute. may be my KeyPressed    More>>

Hi,

I have done my JApplet code & added to web Html WebPage.


now i want to stop some to take my website images by pressing PRINTSCREEN.


I have implements LeyListener to my Applet,


in KeyPressEvent - I have written code -


if(event.getKeyCode() == KeyEvent.VK_PRINTSCREEN)

{
JOptionPane.showMessageDialog(null,"Don't Press PrinScreen Key, Not Have Permission");


}


but not work.


allow to do that. even in KeyPress - I have written - System.out.println("Key:" + evene.getKeyCode());


but will not display when any key press event execute.


may be my KeyPressed event is not execute.


please help me out.


Thanks & Regards

Nikunj Jhala

   <<Less

Re: How i can stop PrintScreen Command when My Applet is running.

Posted By:   Robert_Lybarger  
Posted On:   Wednesday, June 27, 2007 08:46 AM

Indeed as WarnerJan says: anything you put in the internet is fair game for people to "steal" ... so if that's a concern, well, get a new concern to worry about. You cannot stop me from viewing the source code of your pages, or keeping a copy of your images, or any other sort of similar thing.

Re: How i can stop PrintScreen Command when My Applet is running.

Posted By:   WarnerJan_Veldhuis  
Posted On:   Wednesday, June 27, 2007 05:04 AM

Print screen is a system call. Can't do anything about it. And even if you could, there is a million screen capture programs out there. I personally recommend MWSnap. :) If you don't want people to "steal" your picture, don't put it on the internet.
About | Sitemap | Contact